From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:53316 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750808AbdKEPYP (ORCPT ); Sun, 5 Nov 2017 10:24:15 -0500 Subject: Patch "MIPS: bpf: Fix a typo in build_one_insn()" has been added to the 4.13-stable tree To: weiyongjun1@huawei.com, gregkh@linuxfoundation.org, jhogan@kernel.org Cc: , From: Date: Sun, 05 Nov 2017 16:24:20 +0100 Message-ID: <15098954603830@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 MIPS: bpf: Fix a typo in build_one_insn() to the 4.13-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: mips-bpf-fix-a-typo-in-build_one_insn.patch and it can be found in the queue-4.13 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let know about it. >>From 6a2932a463d526e362a6b4e112be226f1d18d088 Mon Sep 17 00:00:00 2001 From: Wei Yongjun Date: Fri, 13 Oct 2017 09:25:17 +0000 Subject: MIPS: bpf: Fix a typo in build_one_insn() From: Wei Yongjun commit 6a2932a463d526e362a6b4e112be226f1d18d088 upstream. Fix a typo in build_one_insn(). Fixes: b6bd53f9c4e8 ("MIPS: Add missing file for eBPF JIT.") Signed-off-by: Wei Yongjun Patchwork: https://patchwork.linux-mips.org/patch/17491/ Signed-off-by: James Hogan Signed-off-by: Greg Kroah-Hartman --- arch/mips/net/ebpf_jit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/mips/net/ebpf_jit.c +++ b/arch/mips/net/ebpf_jit.c @@ -1485,7 +1485,7 @@ ld_skb_common: } src = ebpf_to_mips_reg(ctx, insn, src_reg_no_fp); if (src < 0) - return dst; + return src; if (BPF_MODE(insn->code) == BPF_XADD) { switch (BPF_SIZE(insn->code)) { case BPF_W: Patches currently in stable-queue which might be from weiyongjun1@huawei.com are queue-4.13/mips-bpf-fix-a-typo-in-build_one_insn.patch