Skip to content

Commit

Permalink
Revert "bond: take rcu lock in netpoll_send_skb_on_dev"
Browse files Browse the repository at this point in the history
This reverts commit 6fe9487.

It is causing more serious regressions than the RCU warning
it is fixing.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Oct 19, 2018
1 parent 91b1561 commit 4899542
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions net/core/netpoll.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit 4899542

Please sign in to comment.