Patch "benet: Call dev_kfree_skby_any instead of kfree_skb." has been added to the 3.14-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    benet: Call dev_kfree_skby_any instead of 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:
     benet-call-dev_kfree_skby_any-instead-of-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 <stable@xxxxxxxxxxxxxxx> know about it.


>From foo@baz Tue Apr 21 23:05:41 CEST 2015
From: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx>
Date: Tue, 11 Mar 2014 14:19:50 -0700
Subject: benet: Call dev_kfree_skby_any instead of kfree_skb.

From: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx>

Replace free_skb with dev_kfree_skb_any in be_tx_compl_process as
which can be called in hard irq by netpoll, softirq context
by normal napi polling, and in normal sleepable context
by the network device close method.

Signed-off-by: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx>
Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
 drivers/net/ethernet/emulex/benet/be_main.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/net/ethernet/emulex/benet/be_main.c
+++ b/drivers/net/ethernet/emulex/benet/be_main.c
@@ -1883,7 +1883,7 @@ static u16 be_tx_compl_process(struct be
 		queue_tail_inc(txq);
 	} while (cur_index != last_index);
 
-	kfree_skb(sent_skb);
+	dev_kfree_skb_any(sent_skb);
 	return num_wrbs;
 }
 


Patches currently in stable-queue which might be from ebiederm@xxxxxxxxxxxx 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]