Re: [PATCH]skge napi->poll() locking bug

From: David Miller
Date: Sun Mar 23 2008 - 06:19:48 EST


From: Marin Mitov <mitov@xxxxxxxxxxx>
Date: Sun, 23 Mar 2008 10:20:09 +0200

Please send networking things at least CC:'d to netdev
as many networking developers do not subscribe to
linux-kernel

> 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 :-)
>
> Regards
>
> Marin Mitov
>
> Signed-off-by: Marin Mitov <mitov@xxxxxxxxxxx>

Acked-by: David S. Miller <davem@xxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/