Skip to content

Commit 4899542

Browse files
committed
Revert "bond: take rcu lock in netpoll_send_skb_on_dev"
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>
1 parent 91b1561 commit 4899542

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

net/core/netpoll.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,6 @@ void netpoll_send_skb_on_dev(struct netpoll *np, struct sk_buff *skb,
312312
/* It is up to the caller to keep npinfo alive. */
313313
struct netpoll_info *npinfo;
314314

315-
rcu_read_lock_bh();
316315
lockdep_assert_irqs_disabled();
317316

318317
npinfo = rcu_dereference_bh(np->dev->npinfo);
@@ -357,7 +356,6 @@ void netpoll_send_skb_on_dev(struct netpoll *np, struct sk_buff *skb,
357356
skb_queue_tail(&npinfo->txq, skb);
358357
schedule_delayed_work(&npinfo->tx_work,0);
359358
}
360-
rcu_read_unlock_bh();
361359
}
362360
EXPORT_SYMBOL(netpoll_send_skb_on_dev);
363361

0 commit comments

Comments
 (0)