From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:47412 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966032AbbJWAr7 (ORCPT ); Thu, 22 Oct 2015 20:47:59 -0400 Subject: Patch "bpf: clear sender_cpu before xmit" has been added to the 4.2-stable tree To: ast@plumgrid.com, daniel@iogearbox.net, davem@davemloft.net, gregkh@linuxfoundation.org Cc: , From: Date: Thu, 22 Oct 2015 17:47:58 -0700 Message-ID: <1445561278145184@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 bpf: clear sender_cpu before xmit to the 4.2-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: bpf-clear-sender_cpu-before-xmit.patch and it can be found in the queue-4.2 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:24 PDT 2015 From: Alexei Starovoitov Date: Tue, 6 Oct 2015 20:46:07 -0700 Subject: bpf: clear sender_cpu before xmit From: Alexei Starovoitov [ Upstream commit 6bf0577374cfb6c2301dbf4934a4f23ad3d72763 ] Similar to commit c29390c6dfee ("xps: must clear sender_cpu before forwarding") the skb->sender_cpu needs to be cleared before xmit. Fixes: 3896d655f4d4 ("bpf: introduce bpf_clone_redirect() helper") Signed-off-by: Alexei Starovoitov Acked-by: Daniel Borkmann Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- net/core/filter.c | 1 + 1 file changed, 1 insertion(+) --- a/net/core/filter.c +++ b/net/core/filter.c @@ -1412,6 +1412,7 @@ static u64 bpf_clone_redirect(u64 r1, u6 return dev_forward_skb(dev, skb2); skb2->dev = dev; + skb_sender_cpu_clear(skb2); return dev_queue_xmit(skb2); } Patches currently in stable-queue which might be from ast@plumgrid.com are queue-4.2/bpf-fix-panic-in-so_get_filter-with-native-ebpf-programs.patch queue-4.2/bpf-clear-sender_cpu-before-xmit.patch