diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2014-03-25 04:41:43 +0400 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2014-03-25 08:19:06 +0400 |
commit | 641e9b73d8c4a5ce1d4b1ead7a377b8c8622e41e (patch) | |
tree | 210e00900bcb1d5a9b840e380753fd1ac240421d | |
parent | 2d4186cef9fa5f9aed528723ff8d13c00ae8356d (diff) | |
download | linux-641e9b73d8c4a5ce1d4b1ead7a377b8c8622e41e.tar.xz |
ksz884x: Call dev_consume_skb_any instead of dev_kfree_skb.
Replace dev_kfree_skb with dev_consume_skb_any in copy_old_skb that can
be called in hard irq and other contexts.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
-rw-r--r-- | drivers/net/ethernet/micrel/ksz884x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/micrel/ksz884x.c b/drivers/net/ethernet/micrel/ksz884x.c index ce84dc289c8f..14ac0e2bc09f 100644 --- a/drivers/net/ethernet/micrel/ksz884x.c +++ b/drivers/net/ethernet/micrel/ksz884x.c @@ -4832,7 +4832,7 @@ static inline void copy_old_skb(struct sk_buff *old, struct sk_buff *skb) skb->csum = old->csum; skb_set_network_header(skb, ETH_HLEN); - dev_kfree_skb(old); + dev_consume_skb_any(old); } /** |