[NET]: Treat CHECKSUM_PARTIAL as CHECKSUM_UNNECESSARY
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 9 Apr 2007 18:59:39 +0000 (11:59 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:28:43 +0000 (22:28 -0700)
commit604763722c655c7e3f31ecf6f7b4dafcd26a7a15
treea5c07f0e22ac86e7ca7a8c80bd3f111116610edd
parent628592ccdbbb5bb751217cf02e2e7abb500d7ffe
[NET]: Treat CHECKSUM_PARTIAL as CHECKSUM_UNNECESSARY

When a transmitted packet is looped back directly, CHECKSUM_PARTIAL
maps to the semantics of CHECKSUM_UNNECESSARY.  Therefore we should
treat it as such in the stack.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
13 files changed:
include/linux/skbuff.h
include/net/tcp.h
include/net/udp.h
net/core/netpoll.c
net/ipv4/ipvs/ip_vs_core.c
net/ipv4/tcp_input.c
net/ipv4/tcp_ipv4.c
net/ipv4/udp.c
net/ipv6/raw.c
net/ipv6/tcp_ipv6.c
net/ipv6/udp.c
net/sctp/input.c
net/sunrpc/socklib.c