diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2014-03-11 22:16:58 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-12 21:22:13 +0100 |
commit | 2bb77ab42a6a40162a367b80394b96bb756ad5f1 (patch) | |
tree | 8c8d28b1641699c72bdfa35bb3f53b37a407f1f8 /drivers/net/bonding/bond_alb.c | |
parent | r8169: Call dev_kfree_skby_any instead of dev_kfree_skb. (diff) | |
download | linux-2bb77ab42a6a40162a367b80394b96bb756ad5f1.tar.xz linux-2bb77ab42a6a40162a367b80394b96bb756ad5f1.zip |
bonding: Call dev_kfree_skby_any instead of kfree_skb.
Replace kfree_skb with dev_kfree_skb_any in functions that can
be called in hard irq and other contexts.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bond_alb.c')
-rw-r--r-- | drivers/net/bonding/bond_alb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bonding/bond_alb.c b/drivers/net/bonding/bond_alb.c index aaeeacf767f2..9cf836b67b15 100644 --- a/drivers/net/bonding/bond_alb.c +++ b/drivers/net/bonding/bond_alb.c @@ -1464,7 +1464,7 @@ int bond_alb_xmit(struct sk_buff *skb, struct net_device *bond_dev) } /* no suitable interface, frame not sent */ - kfree_skb(skb); + dev_kfree_skb_any(skb); out: return NETDEV_TX_OK; } |