netpoll: drivers must not enable IRQ unconditionally in their NAPI handler
authorFrancois Romieu <romieu@fr.zoreil.com>
Sun, 17 Dec 2006 22:03:15 +0000 (23:03 +0100)
committerJeff Garzik <jeff@garzik.org>
Tue, 26 Dec 2006 21:24:11 +0000 (16:24 -0500)
commitd15e9c4d9a75702b30e00cdf95c71c88e3f3f51e
treee7ba1469eac6f732a7d2b9debc7713d8173dc0a2
parent79f3d3996f06ee339c6f173e573826eccd3914ab
netpoll: drivers must not enable IRQ unconditionally in their NAPI handler

net/core/netpoll.c::netpoll_send_skb() calls the poll handler when
it is available. As netconsole can be used from almost any context,
IRQ must not be enabled blindly in the NAPI handler of a driver which
supports netpoll.

b57bd06655a028aba7b92e1c19c2093e7fcfb341 fixed the issue for the
8139too.c driver.

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/8139cp.c
drivers/net/b44.c
drivers/net/forcedeth.c
drivers/net/skge.c