[NET]: Fix races in net_rx_action vs netpoll.
authorOlaf Kirch <olaf.kirch@oracle.com>
Thu, 12 Jul 2007 02:32:02 +0000 (19:32 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Jul 2007 02:32:02 +0000 (19:32 -0700)
commit29578624e354f56143d92510fff33a8b2aaa2c03
tree67d0f28264dbeacedde4882f1e76157894ba33ba
parent1fd05ba5a2f2aa8e7b9b52ef55df850e2e7d54c9
[NET]: Fix races in net_rx_action vs netpoll.

Keep netpoll/poll_napi from messing with the poll_list.
Only net_rx_action is allowed to manipulate the list.

Signed-off-by: Olaf Kirch <olaf.kirch@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/core/netpoll.c