]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[NETFILTER]: Add partial checksum validation helper
authorPatrick McHardy <kaber@trash.net>
Thu, 20 Mar 2008 14:15:53 +0000 (15:15 +0100)
committerPatrick McHardy <kaber@trash.net>
Mon, 14 Apr 2008 09:15:49 +0000 (11:15 +0200)
commitd63a650736f566a1f9e9434725d2089597c0d2cc
treef0a3d5dbc9ced46f95582e4133b55bb70a1ae365
parent6185f870e293a0a3eae5c81eb0106480cf03dfde
[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>
include/linux/netfilter.h
net/ipv4/netfilter.c
net/ipv6/netfilter.c
net/netfilter/nf_conntrack_proto_udplite.c