diff options
author | David S. Miller <davem@davemloft.net> | 2018-10-19 20:45:08 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-19 20:45:08 +0300 |
commit | 48995423143a097527802e28d7add20e5a27677a (patch) | |
tree | 22aa302e4bd3a3eda39bd2397ad57ca6edd05adf /net | |
parent | 91b15613ce7fb3e724ca0d433eef8e6bf15322af (diff) | |
download | linux-48995423143a097527802e28d7add20e5a27677a.tar.xz |
Revert "bond: take rcu lock in netpoll_send_skb_on_dev"
This reverts commit 6fe9487892b32cb1c8b8b0d552ed7222a527fe30.
It is causing more serious regressions than the RCU warning
it is fixing.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/core/netpoll.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/core/netpoll.c b/net/core/netpoll.c index de1d1ba92f2d..3ae899805f8b 100644 --- a/net/core/netpoll.c +++ b/net/core/netpoll.c @@ -312,7 +312,6 @@ void netpoll_send_skb_on_dev(struct netpoll *np, struct sk_buff *skb, /* It is up to the caller to keep npinfo alive. */ struct netpoll_info *npinfo; - rcu_read_lock_bh(); lockdep_assert_irqs_disabled(); npinfo = rcu_dereference_bh(np->dev->npinfo); @@ -357,7 +356,6 @@ void netpoll_send_skb_on_dev(struct netpoll *np, struct sk_buff *skb, skb_queue_tail(&npinfo->txq, skb); schedule_delayed_work(&npinfo->tx_work,0); } - rcu_read_unlock_bh(); } EXPORT_SYMBOL(netpoll_send_skb_on_dev); |