diff options
author | Patrick McHardy <kaber@trash.net> | 2007-11-30 01:17:11 +1100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 14:55:15 -0800 |
commit | be0ea7d5da3d99140bde7e5cea328eb111731700 (patch) | |
tree | fc7e0702bf03eff7409c1bd8361fca5737cbe365 /net/ipv4/netfilter/ipt_TOS.c | |
parent | a99a00cf1adef2d3dce745c93c9cc8b0a1612c50 (diff) | |
download | linux-be0ea7d5da3d99140bde7e5cea328eb111731700.tar.bz2 |
[NETFILTER]: Convert old checksum helper names
Kill the defines again, convert to the new checksum helper names and
remove the dependency of NET_ACT_NAT on NETFILTER.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/netfilter/ipt_TOS.c')
-rw-r--r-- | net/ipv4/netfilter/ipt_TOS.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/netfilter/ipt_TOS.c b/net/ipv4/netfilter/ipt_TOS.c index d4573baa7f27..7b4a6cac399e 100644 --- a/net/ipv4/netfilter/ipt_TOS.c +++ b/net/ipv4/netfilter/ipt_TOS.c @@ -38,7 +38,7 @@ target(struct sk_buff *skb, iph = ip_hdr(skb); oldtos = iph->tos; iph->tos = (iph->tos & IPTOS_PREC_MASK) | tosinfo->tos; - nf_csum_replace2(&iph->check, htons(oldtos), htons(iph->tos)); + csum_replace2(&iph->check, htons(oldtos), htons(iph->tos)); } return XT_CONTINUE; } |