]> err.no Git - linux-2.6/commit
[PATCH] sky2: kfree_skb_any needed
authorStephen Hemminger <shemminger@osdl.org>
Fri, 1 Dec 2006 22:29:36 +0000 (14:29 -0800)
committerJeff Garzik <jeff@garzik.org>
Sat, 2 Dec 2006 05:22:29 +0000 (00:22 -0500)
commit794b2bd20f620892616b09466186ff27101d9e5b
treeecf177aef4fbbd8d6ac4b6b59c25ad950e0b21aa
parent8df9a87604e38529898ce35c610792c03c8713a2
[PATCH] sky2: kfree_skb_any needed

It is possible for the sky2 driver NAPI poll routine to be called with
IRQ's disabled if netpoll is trying to make space in the tx queue. This
is an obscure path, but if it happens, the kfree_skb needs to happen
via softirq. Calling kfree_skb with IRQ's disabled is a not allowed.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/sky2.c