This is a note to let you know that I've just added the patch titled
ixgb: Call dev_kfree_skby_any instead of dev_kfree_skb.
to the 3.14-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
ixgb-call-dev_kfree_skby_any-instead-of-dev_kfree_skb.patch
and it can be found in the queue-3.14 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From foo@baz Tue Apr 21 23:05:41 CEST 2015
From: "Eric W. Biederman" <[email protected]>
Date: Tue, 11 Mar 2014 14:18:42 -0700
Subject: ixgb: Call dev_kfree_skby_any instead of dev_kfree_skb.
From: "Eric W. Biederman" <[email protected]>
Replace dev_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" <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
drivers/net/ethernet/intel/ixgb/ixgb_main.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--- a/drivers/net/ethernet/intel/ixgb/ixgb_main.c
+++ b/drivers/net/ethernet/intel/ixgb/ixgb_main.c
@@ -1521,12 +1521,12 @@ ixgb_xmit_frame(struct sk_buff *skb, str
int tso;
if (test_bit(__IXGB_DOWN, &adapter->flags)) {
- dev_kfree_skb(skb);
+ dev_kfree_skb_any(skb);
return NETDEV_TX_OK;
}
if (skb->len <= 0) {
- dev_kfree_skb(skb);
+ dev_kfree_skb_any(skb);
return NETDEV_TX_OK;
}
@@ -1543,7 +1543,7 @@ ixgb_xmit_frame(struct sk_buff *skb, str
tso = ixgb_tso(adapter, skb);
if (tso < 0) {
- dev_kfree_skb(skb);
+ dev_kfree_skb_any(skb);
return NETDEV_TX_OK;
}
Patches currently in stable-queue which might be from [email protected] are
queue-3.14/tg3-call-dev_kfree_skby_any-instead-of-dev_kfree_skb.patch
queue-3.14/bnx2-call-dev_kfree_skby_any-instead-of-dev_kfree_skb.patch
queue-3.14/mlx4-call-dev_kfree_skby_any-instead-of-dev_kfree_skb.patch
queue-3.14/r8169-call-dev_kfree_skby_any-instead-of-dev_kfree_skb.patch
queue-3.14/8139cp-call-dev_kfree_skby_any-instead-of-kfree_skb.patch
queue-3.14/8139too-call-dev_kfree_skby_any-instead-of-dev_kfree_skb.patch
queue-3.14/benet-call-dev_kfree_skby_any-instead-of-kfree_skb.patch
queue-3.14/bonding-call-dev_kfree_skby_any-instead-of-kfree_skb.patch
queue-3.14/gianfar-carefully-free-skbs-in-functions-called-by-netpoll.patch
queue-3.14/ixgb-call-dev_kfree_skby_any-instead-of-dev_kfree_skb.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html