sky2: kfree_skb with IRQ with netconsole
commiteecf18ffe65123882562c54e55fd2d5e54ad4fef
authorStephen Hemminger <shemminger@linux-foundation.org>
Tue, 27 Feb 2007 01:18:36 +0000 (26 17:18 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 3 Mar 2007 00:32:46 +0000 (2 16:32 -0800)
treeb3450121483c5de6c975a0ffd23e5f5b40d8c930
parentfe864ebed2a1e894552bb426bbb02a2e2c2f6878
sky2: kfree_skb with IRQ with netconsole

When using netconsole, it is possible for the driver to try and
free skb's with IRQ's disabled. This could cause problems if the skb
had a destructor function that didn't expect this. The documented semantics
is that skb->destructor callback happens in softirq.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/sky2.c