Patch "bnxt_en: Fix "uninitialized variable" bug in TPA code path." has been added to the 4.9-stable tree
This is a note to let you know that I've just added the patch titled
bnxt_en: Fix "uninitialized variable" bug in TPA code path.
to the 4.9-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:
bnxt_en-fix-uninitialized-variable-bug-in-tpa-code-path.patch
and it can be found in the queue-4.9 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From foo@baz Mon Jul 3 11:54:13 CEST 2017
From: Michael Chan <[email protected]>
Date: Tue, 17 Jan 2017 22:07:19 -0500
Subject: bnxt_en: Fix "uninitialized variable" bug in TPA code path.
From: Michael Chan <[email protected]>
[ Upstream commit 719ca8111402aa6157bd83a3c966d184db0d8956 ]
In the TPA GRO code path, initialize the tcp_opt_len variable to 0 so that it will be correct for packets without TCP timestamps. The bug caused the SKB fields to be incorrectly set up for packets without TCP timestamps, leading to these packets being rejected by the stack.
--- drivers/net/ethernet/broadcom/bnxt/bnxt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/broadcom/bnxt/bnxt.c +1 -1
@@ -1097,7 +1097,7 @@ static struct sk_buff *bnxt_gro_func_573 {#ifdef CONFIG_INET struct tcphdr *th; -int len, nw_off, tcp_opt_len; +int len, nw_off, tcp_opt_len =0 ;if (tcp_ts) tcp_opt_len =12 ;
Patches currently in stable-queue which might be from [email protected] are
queue-4.9/bnxt_en-fix-uninitialized-variable-bug-in-tpa-code-path.patch