This is a note to let you know that I've just added the patch titled gianfar: Carefully free skbs in functions called by netpoll. to the 3.10-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: gianfar-carefully-free-skbs-in-functions-called-by-netpoll.patch and it can be found in the queue-3.10 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:58 CEST 2015 From: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx> Date: Tue, 11 Mar 2014 14:20:26 -0700 Subject: gianfar: Carefully free skbs in functions called by netpoll. From: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx> netpoll can call functions in hard irq context that are ordinarily called in lesser contexts. For those functions use dev_kfree_skb_any and dev_consume_skb_any so skbs are freed safely from hard irq context. 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/freescale/gianfar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/drivers/net/ethernet/freescale/gianfar.c +++ b/drivers/net/ethernet/freescale/gianfar.c @@ -2102,13 +2102,13 @@ static int gfar_start_xmit(struct sk_buf skb_new = skb_realloc_headroom(skb, fcb_length); if (!skb_new) { dev->stats.tx_errors++; - kfree_skb(skb); + dev_kfree_skb_any(skb); return NETDEV_TX_OK; } if (skb->sk) skb_set_owner_w(skb_new, skb->sk); - consume_skb(skb); + dev_consume_skb_any(skb); skb = skb_new; } Patches currently in stable-queue which might be from ebiederm@xxxxxxxxxxxx are queue-3.10/tg3-call-dev_kfree_skby_any-instead-of-dev_kfree_skb.patch queue-3.10/bnx2-call-dev_kfree_skby_any-instead-of-dev_kfree_skb.patch queue-3.10/r8169-call-dev_kfree_skby_any-instead-of-dev_kfree_skb.patch queue-3.10/8139cp-call-dev_kfree_skby_any-instead-of-kfree_skb.patch queue-3.10/8139too-call-dev_kfree_skby_any-instead-of-dev_kfree_skb.patch queue-3.10/benet-call-dev_kfree_skby_any-instead-of-kfree_skb.patch queue-3.10/gianfar-carefully-free-skbs-in-functions-called-by-netpoll.patch queue-3.10/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