diff options
author | Michael Chan <michael.chan@broadcom.com> | 2017-01-17 22:07:19 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-18 17:01:47 -0500 |
commit | 719ca8111402aa6157bd83a3c966d184db0d8956 (patch) | |
tree | 8f70da6e4f7489c8bffb92c349b42c77d6c16c1f /lib/decompress_inflate.c | |
parent | cd33b3e0da43522ff8e8f2b2b71d3d08298512b0 (diff) | |
download | linux-stable-719ca8111402aa6157bd83a3c966d184db0d8956.tar.gz linux-stable-719ca8111402aa6157bd83a3c966d184db0d8956.tar.bz2 linux-stable-719ca8111402aa6157bd83a3c966d184db0d8956.zip |
bnxt_en: Fix "uninitialized variable" bug in TPA code path.
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 <andrew.gospodarek@broadocm.com>
Acked-by: Andy Gospodarek <andrew.gospodarek@broadocm.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/decompress_inflate.c')
0 files changed, 0 insertions, 0 deletions