• Marin Mitov's avatar
    skge napi->poll() locking bug · 6ef2977d
    Marin Mitov authored
    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: default avatarMarin Mitov <mitov@issp.bas.bg>
    Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
    6ef2977d
skge.c 106 KB