diff options
author | Herbert Xu <[email protected]> | 2013-11-22 10:31:29 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2013-11-23 14:46:19 -0800 |
commit | cc5c00bbb44c5d68b883aa5cb9d01514a2525d94 (patch) | |
tree | e09c2d77f476ef4584308510c30601d518d91f68 /lib/memory-notifier-error-inject.c | |
parent | d6c416148545bd99d3cc05e672460168245cc156 (diff) |
gro: Only verify TCP checksums for candidates
In some cases we may receive IP packets that are longer than
their stated lengths. Such packets are never merged in GRO.
However, we may end up computing their checksums incorrectly
and end up allowing packets with a bogus checksum enter our
stack with the checksum status set as verified.
Since such packets are rare and not performance-critical, this
patch simply skips the checksum verification for them.
Reported-by: Alexander Duyck <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Acked-by: Alexander Duyck <[email protected]>
Thanks,
Acked-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions