]> err.no Git - linux-2.6/commit
[NETFILTER]: Add address family specific checksum helpers
authorPatrick McHardy <kaber@trash.net>
Thu, 6 Apr 2006 21:18:43 +0000 (14:18 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 10 Apr 2006 05:25:41 +0000 (22:25 -0700)
commit422c346fad806e2abaeffac686860ebc98dfe33e
treedd554d11e80ad33afef4b438ec4c2d8943ad37f4
parentbce8032ef3cc58170ab3550e9e271dba7b4c4764
[NETFILTER]: Add address family specific checksum helpers

Add checksum operation which takes care of verifying the checksum and
dealing with HW checksum errors and avoids multiple checksum
operations by setting ip_summed to CHECKSUM_UNNECESSARY after
successful verification.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netfilter.h
include/linux/netfilter_ipv4.h
include/linux/netfilter_ipv6.h
net/ipv4/netfilter.c
net/ipv6/netfilter.c