diff options
| author | David S. Miller <davem@nuts.ninka.net> | 2004-01-05 03:54:41 -0800 |
|---|---|---|
| committer | David S. Miller <davem@nuts.ninka.net> | 2004-01-05 03:54:41 -0800 |
| commit | cdd56702d6800194618b7de0545157ed8ca0b229 (patch) | |
| tree | 286c2832418acc8630a6fe2ab44738cea466be78 /include/linux | |
| parent | ead7297a236119ce4d36bbc599036ca4602dd148 (diff) | |
[NET]: In dev_kfree_skb_any() use dev_kfree_skb_irq() if irqs_disabled().
With help from Jeff Garzik and others.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/netdevice.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index b4744f9e42b0..666d89f875f5 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -634,7 +634,7 @@ static inline void dev_kfree_skb_irq(struct sk_buff *skb) */ static inline void dev_kfree_skb_any(struct sk_buff *skb) { - if (in_irq()) + if (in_irq() || irqs_disabled()) dev_kfree_skb_irq(skb); else dev_kfree_skb(skb); |
