]> git.baikalelectronics.ru Git - kernel.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)
commit6f36d76842277fa4783d476eb30596d125da4618
tree8ed9f04bba89e3ddbf1ab24428a4f80408ca8984
parent64f5c61ccd42c15f0faaaec78a8ddcd0619ca026
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