diff options
author | David S. Miller <davem@davemloft.net> | 2019-05-08 02:22:09 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-05-08 02:22:09 +0200 |
commit | a9e41a529681b38087c91ebc0bb91e12f510ca2d (patch) | |
tree | 544bf5861113e2f7e676a333a1267d887c800870 /net/l2tp | |
parent | net: phy: improve pause mode reporting in phy_print_status (diff) | |
parent | cxgb4: Fix error path in cxgb4_init_module (diff) | |
download | linux-a9e41a529681b38087c91ebc0bb91e12f510ca2d.tar.xz linux-a9e41a529681b38087c91ebc0bb91e12f510ca2d.zip |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Minor conflict with the DSA legacy code removal.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/l2tp')
-rw-r--r-- | net/l2tp/l2tp_core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/l2tp/l2tp_core.c b/net/l2tp/l2tp_core.c index 52b5a2797c0c..e4dec03a19fe 100644 --- a/net/l2tp/l2tp_core.c +++ b/net/l2tp/l2tp_core.c @@ -1735,7 +1735,8 @@ static __net_exit void l2tp_exit_net(struct net *net) } rcu_read_unlock_bh(); - flush_workqueue(l2tp_wq); + if (l2tp_wq) + flush_workqueue(l2tp_wq); rcu_barrier(); for (hash = 0; hash < L2TP_HASH_SIZE_2; hash++) |