]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ipvs: handle PARTIAL_CHECKSUM
authorSimon Horman <horms@verge.net.au>
Mon, 8 Sep 2008 02:04:21 +0000 (12:04 +1000)
committerSimon Horman <horms@verge.net.au>
Mon, 8 Sep 2008 23:36:32 +0000 (09:36 +1000)
commit503e81f65adac596a0275ea0230f2ae1fd64c301
tree8ed9f04bba89e3ddbf1ab24428a4f80408ca8984
parent178f5e494e3c0252d06a9b1473016addff71e01e
ipvs: handle PARTIAL_CHECKSUM

Now that LVS can load balance locally generated traffic, packets may come
from the loopback device and thus may have a partial checksum.

The existing code allows for the case where there is no checksum at all for
TCP, however Herbert Xu has confirmed that this is not legal.

Signed-off-by: Simon Horman <horms@verge.net.au>
Acked-by: Julius Volz <juliusv@google.com>
net/ipv4/ipvs/ip_vs_proto_tcp.c
net/ipv4/ipvs/ip_vs_proto_udp.c