-
- Downloads
[NETFILTER]: Add partial checksum validation helper
Move the UDP-Lite conntrack checksum validation to a generic helper
similar to nf_checksum() and make it fall back to nf_checksum()
in case the full packet is to be checksummed and hardware checksums
are available. This is to be used by DCCP conntrack, which also
needs to verify partial checksums.
Signed-off-by:
Patrick McHardy <kaber@trash.net>
Showing
- include/linux/netfilter.h 22 additions, 0 deletionsinclude/linux/netfilter.h
- net/ipv4/netfilter.c 30 additions, 7 deletionsnet/ipv4/netfilter.c
- net/ipv6/netfilter.c 35 additions, 7 deletionsnet/ipv6/netfilter.c
- net/netfilter/nf_conntrack_proto_udplite.c 7 additions, 26 deletionsnet/netfilter/nf_conntrack_proto_udplite.c
Loading
Please register or sign in to comment