From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:48577 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965526AbbJWB3U (ORCPT ); Thu, 22 Oct 2015 21:29:20 -0400 Subject: Patch "act_mirred: clear sender cpu before sending to tx" has been added to the 4.1-stable tree To: xiyou.wangcong@gmail.com, cwang@twopensource.com, davem@davemloft.net, edumazet@google.com, gregkh@linuxfoundation.org, jhs@mojatatu.com Cc: , From: Date: Thu, 22 Oct 2015 18:29:19 -0700 Message-ID: <144556375935196@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org List-ID: This is a note to let you know that I've just added the patch titled act_mirred: clear sender cpu before sending to tx to the 4.1-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: act_mirred-clear-sender-cpu-before-sending-to-tx.patch and it can be found in the queue-4.1 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let know about it. >>From foo@baz Thu Oct 22 17:25:37 PDT 2015 From: WANG Cong Date: Tue, 6 Oct 2015 17:23:47 -0700 Subject: act_mirred: clear sender cpu before sending to tx From: WANG Cong [ Upstream commit d40496a56430eac0d330378816954619899fe303 ] Similar to commit c29390c6dfee ("xps: must clear sender_cpu before forwarding") the skb->sender_cpu needs to be cleared when moving from Rx Tx, otherwise kernel could crash. Fixes: 2bd82484bb4c ("xps: fix xps for stacked devices") Cc: Eric Dumazet Cc: Jamal Hadi Salim Signed-off-by: Cong Wang Signed-off-by: Cong Wang Acked-by: Eric Dumazet Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- net/sched/act_mirred.c | 1 + 1 file changed, 1 insertion(+) --- a/net/sched/act_mirred.c +++ b/net/sched/act_mirred.c @@ -166,6 +166,7 @@ static int tcf_mirred(struct sk_buff *sk skb2->skb_iif = skb->dev->ifindex; skb2->dev = dev; + skb_sender_cpu_clear(skb2); err = dev_queue_xmit(skb2); out: Patches currently in stable-queue which might be from xiyou.wangcong@gmail.com are queue-4.1/act_mirred-clear-sender-cpu-before-sending-to-tx.patch