[NETFILTER]: replace open coded checksum updates
authorPatrick McHardy <kaber@trash.net>
Tue, 22 Aug 2006 07:33:09 +0000 (00:33 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Sep 2006 21:55:29 +0000 (14:55 -0700)
commitda878c8e5aae3eeceeee7af8d52633d7bc125edf
tree27f67c9713e98919e5c38d6cc85a05e9485576e9
parent1158ba27bec6d1a20999099a938908cf85f47640
[NETFILTER]: replace open coded checksum updates

Replace open coded checksum update by nf_csum_update calls and clean up
the surrounding code a bit.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/ipt_ECN.c
net/ipv4/netfilter/ipt_TOS.c
net/ipv4/netfilter/ipt_TTL.c