summaryrefslogtreecommitdiff
path: root/net/ipv4
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2017-01-17 22:07:19 -0500
committerDavid S. Miller <davem@davemloft.net>2017-01-18 17:01:47 -0500
commit719ca8111402aa6157bd83a3c966d184db0d8956 (patch)
tree8f70da6e4f7489c8bffb92c349b42c77d6c16c1f /net/ipv4
parentcd33b3e0da43522ff8e8f2b2b71d3d08298512b0 (diff)
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 'net/ipv4')
0 files changed, 0 insertions, 0 deletions