Re: [PATCH net] bnxt_en: Fix "uninitialized variable" bug in TPA code path.

2017-01-18 Thread David Miller
From: Michael Chan Date: Tue, 17 Jan 2017 22:07:19 -0500 > 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

[PATCH net] bnxt_en: Fix "uninitialized variable" bug in TPA code path.

2017-01-17 Thread Michael Chan
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. Reported-by: Andy Gosp