]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/ipv4/netfilter/ip_nat_proto_gre.c
[NETFILTER]: x_tables: remove unused argument to target functions
[linux-2.6-omap-h63xx.git] / net / ipv4 / netfilter / ip_nat_proto_gre.c
index 38acfdf540ebee653c74eb27a448697a43e75d83..70a65372225a246755a8ed583c798c737157e75b 100644 (file)
@@ -130,9 +130,10 @@ gre_manip_pkt(struct sk_buff **pskb,
                        if (greh->csum) {
                                /* FIXME: Never tested this code... */
                                *(gre_csum(greh)) = 
-                                       ip_nat_cheat_check(~*(gre_key(greh)),
+                                       nf_proto_csum_update(*pskb,
+                                                       ~*(gre_key(greh)),
                                                        tuple->dst.u.gre.key,
-                                                       *(gre_csum(greh)));
+                                                       *(gre_csum(greh)), 0);
                        }
                        *(gre_key(greh)) = tuple->dst.u.gre.key;
                        break;