Skip to content

RFC IPVS: checksum updates

Simon Horman lvs-devel netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 24 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ipvs: handle PARTIAL_CHECKSUMnet/ipv4/ipvs/ip_vs_proto_tcp.c net/ipv4/ipvs/ip_vs_proto_udp.c+70 -43 replies
2/3ipvs: Use inet_proto_csum_replace*()include/net/ip_vs.h net/ipv4/ipvs/ip_vs_proto.c net/ipv4/ipvs/ip_vs_proto_tcp.c +1 more+86 -970 replies
3/3ipvs: Consolidate checksuming codeinclude/net/ip_vs.h net/ipv4/ipvs/ip_vs_proto.c net/ipv4/ipvs/ip_vs_proto_tcp.c +1 more+31 -410 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [rfc 0/3] IPVS: checksum updates

Hi,

The impetus for this series of patches is Julian Anastasov noting that "load balance IPv4 connections from a local process" checks for 0 TCP checksums. Herbert Xu confirmed that this is not legal, even on loopback traffic, but that rather partial checksums are possible.

The first patch in this series is a proposed solution to handle partial checksums for both TCP and UDP.

The other two patches clean things up a bit.

I have not tested this code beyond compilation yet.