linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / net / ipv4 / netfilter / ip_nat_proto_udp.c
index 802ceb7..ec6053f 100644 (file)
@@ -114,12 +114,7 @@ udp_manip_pkt(struct sk_buff **pskb,
                portptr = &hdr->dest;
        }
        if (hdr->check) /* 0 is a special case meaning no checksum */
-#ifdef CONFIG_XEN
-               if ((*pskb)->proto_csum_blank)
-                       hdr->check = ip_nat_cheat_check(oldip, ~newip, hdr->check);
-               else
-#endif
-                       hdr->check = ip_nat_cheat_check(~oldip, newip,
+               hdr->check = ip_nat_cheat_check(~oldip, newip,
                                        ip_nat_cheat_check(*portptr ^ 0xFFFF,
                                                           newport,
                                                           hdr->check));