commit | 6ef2977d414cc196baba0fb53509c5f8cd9154b4 | [log] [tgz] |
---|---|---|
author | Marin Mitov <mitov@issp.bas.bg> | Sun Mar 23 10:20:09 2008 +0200 |
committer | Jeff Garzik <jeff@garzik.org> | Tue Mar 25 23:42:06 2008 -0400 |
tree | 5cff016cfe15fcf79c169d6fa105093ee8972539 | |
parent | 9f5e60dd5ffca938da4cabc197af8b9405b5512e [diff] |
skge napi->poll() locking bug According to: Documentation/networking/netdevices.txt: <cite> napi->poll: .......... Context: softirq will be called with interrupts disabled by netconsole. </cite> napi->poll() could be called either with interrupts enabled (in softirq context) or disabled (by netconsole), so the irq flag should be preserved. Inspired by Ingo's resent forcedeth patch :-) Signed-off-by: Marin Mitov <mitov@issp.bas.bg> Signed-off-by: Jeff Garzik <jeff@garzik.org>