]> err.no Git - linux-2.6/commit
[NET]: Do not check netif_running() and carrier state in ->poll()
authorDavid S. Miller <davem@davemloft.net>
Tue, 8 Jan 2008 04:48:21 +0000 (20:48 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Jan 2008 07:30:09 +0000 (23:30 -0800)
commit4ec2411980d0fd2995e8dea8a06fe57aa47523cb
treea4013547ff1bda8fc038623290debd62ad6dd7fe
parenta0a46196cd98af5cc015842bba757571f02a8c30
[NET]: Do not check netif_running() and carrier state in ->poll()

Drivers do this to try to break out of the ->poll()'ing loop
when the device is being brought administratively down.

Now that we have a napi_disable() "pending" state we are going
to solve that problem generically.

Signed-off-by: David S. Miller <davem@davemloft.net>
15 files changed:
drivers/net/e100.c
drivers/net/e1000/e1000_main.c
drivers/net/e1000e/netdev.c
drivers/net/epic100.c
drivers/net/fec_8xx/fec_main.c
drivers/net/fs_enet/fs_enet-main.c
drivers/net/ixgb/ixgb_main.c
drivers/net/ixgbe/ixgbe_main.c
drivers/net/ixp2000/ixpdev.c
drivers/net/myri10ge/myri10ge.c
drivers/net/natsemi.c
drivers/net/qla3xxx.c
drivers/net/s2io.c
drivers/net/tulip/interrupt.c
drivers/net/xen-netfront.c