Commit a7a2a6d3 authored by Committed by Greg Kroah-HartmanBrowse files
bnxt_en: Fix "uninitialized variable" bug in TPA code path.
[ Upstream commit 719ca811 ] 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 Gospodarek <firstname.lastname@example.org> Acked-by: Andy Gospodarek <email@example.com> Signed-off-by: Michael Chan <firstname.lastname@example.org> Signed-off-by: David S. Miller <email@example.com> Signed-off-by: Sasha Levin <firstname.lastname@example.org> Signed-off-by: Greg Kroah-Hartman <email@example.com>