diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2013-11-22 06:31:29 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-08 19:29:14 +0400 |
commit | d8f703112e39ab0d58bc140d2f8db80add02acf7 (patch) | |
tree | 4c0875314d78939a479a4c7741826cefc78f046a /lib/Kconfig.kmemcheck | |
parent | c5352f3600c8066715f5fa2f4cece0890d55c0a1 (diff) | |
download | linux-d8f703112e39ab0d58bc140d2f8db80add02acf7.tar.xz |
gro: Only verify TCP checksums for candidates
[ Upstream commit cc5c00bbb44c5d68b883aa5cb9d01514a2525d94 ]
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 <alexander.h.duyck@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: Alexander Duyck <alexander.h.duyck@intel.com>
Thanks,
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/Kconfig.kmemcheck')
0 files changed, 0 insertions, 0 deletions