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>
This commit is contained in:

committed by
David S. Miller

parent
989c9ba104
commit
2bb77ab42a
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user