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 <email@example.com> Acked-by: Andy Gospodarek <firstname.lastname@example.org> Signed-off-by: Michael Chan <email@example.com> Signed-off-by: David S. Miller <firstname.lastname@example.org> Signed-off-by: Sasha Levin <email@example.com> Signed-off-by: Greg Kroah-Hartman <firstname.lastname@example.org>