[NETFILTER]: arp_tables: move counter allocation to seperate function
[powerpc.git] / net / ipv4 / netfilter / nf_nat_proto_udp.c
index cbf1a61..9c6519c 100644 (file)
@@ -117,9 +117,9 @@ udp_manip_pkt(struct sk_buff *skb,
                portptr = &hdr->dest;
        }
        if (hdr->check || skb->ip_summed == CHECKSUM_PARTIAL) {
-               nf_proto_csum_replace4(&hdr->check, skb, oldip, newip, 1);
-               nf_proto_csum_replace2(&hdr->check, skb, *portptr, newport,
-                                      0);
+               inet_proto_csum_replace4(&hdr->check, skb, oldip, newip, 1);
+               inet_proto_csum_replace2(&hdr->check, skb, *portptr, newport,
+                                        0);
                if (!hdr->check)
                        hdr->check = CSUM_MANGLED_0;
        }