diff options
author | Michael Chan <[email protected]> | 2017-01-17 22:07:19 -0500 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-01-18 17:01:47 -0500 |
commit | 719ca8111402aa6157bd83a3c966d184db0d8956 (patch) | |
tree | 8f70da6e4f7489c8bffb92c349b42c77d6c16c1f /net/unix/sysctl_net_unix.c | |
parent | cd33b3e0da43522ff8e8f2b2b71d3d08298512b0 (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 <[email protected]>
Acked-by: Andy Gospodarek <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions