[NETPOLL]: fix initialization/NAPI race
commit53fb95d3c14290fd6ee808b221e35493f096246f
authorMatt Mackall <mpm@selenic.com>
Fri, 12 Aug 2005 02:27:43 +0000 (11 19:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Aug 2005 02:27:43 +0000 (11 19:27 -0700)
tree146c31c79bbc66d8fde3afa5ae37a04b63041eba
parent2652076507b662fc88ba16c27b59c7bdd9ccd956
[NETPOLL]: fix initialization/NAPI race

This fixes a race during initialization with the NAPI softirq
processing by using an RCU approach.

This race was discovered when refill_skbs() was added to
the setup code.

Signed-off-by: Matt Mackall <mpm@selenic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netpoll.h
net/core/dev.c
net/core/netpoll.c