diff options
author | 2013-11-22 10:32:11 +0800 | |
---|---|---|
committer | 2013-11-23 14:46:19 -0800 | |
commit | b8ee93ba80b5a0b6c3c06b65c34dd1276f16c047 (patch) | |
tree | 11f6e9c6ef60f51391b9a4564c0f285fab23da97 /tools/perf/scripts/python | |
parent | gro: Only verify TCP checksums for candidates (diff) | |
download | wireguard-linux-b8ee93ba80b5a0b6c3c06b65c34dd1276f16c047.tar.xz wireguard-linux-b8ee93ba80b5a0b6c3c06b65c34dd1276f16c047.zip |
gro: Clean up tcpX_gro_receive checksum verification
This patch simplifies the checksum verification in tcpX_gro_receive
by reusing the CHECKSUM_COMPLETE code for CHECKSUM_NONE. All it
does for CHECKSUM_NONE is compute the partial checksum and then
treat it as if it came from the hardware (CHECKSUM_COMPLETE).
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Cheers,
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions