diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2013-11-22 10:32:11 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-08 07:29:14 -0800 |
commit | 99834e4d7c5e441e268eb718e41d7e83343477fb (patch) | |
tree | f4ece82d62656309706d542a5232ef360eace348 /net/tipc | |
parent | d8f703112e39ab0d58bc140d2f8db80add02acf7 (diff) |
gro: Clean up tcpX_gro_receive checksum verification
[ Upstream commit b8ee93ba80b5a0b6c3c06b65c34dd1276f16c047 ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions