summaryrefslogtreecommitdiff
path: root/drivers/net/bonding/bond_3ad.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2014-03-12 01:16:58 +0400
committerDavid S. Miller <davem@davemloft.net>2014-03-13 00:22:13 +0400
commit2bb77ab42a6a40162a367b80394b96bb756ad5f1 (patch)
tree8c8d28b1641699c72bdfa35bb3f53b37a407f1f8 /drivers/net/bonding/bond_3ad.c
parent989c9ba104d9ce53c1ca918262f3fdfb33aca12a (diff)
downloadlinux-2bb77ab42a6a40162a367b80394b96bb756ad5f1.tar.xz
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_3ad.c')
-rw-r--r--drivers/net/bonding/bond_3ad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bonding/bond_3ad.c b/drivers/net/bonding/bond_3ad.c
index a2ef3f72de88..dee2a84a2929 100644
--- a/drivers/net/bonding/bond_3ad.c
+++ b/drivers/net/bonding/bond_3ad.c
@@ -2479,7 +2479,7 @@ out:
return NETDEV_TX_OK;
err_free:
/* no suitable interface, frame not sent */
- kfree_skb(skb);
+ dev_kfree_skb_any(skb);
goto out;
}