Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git] / net / ipv4 / netfilter / ip_nat_proto_udp.c
index 802ceb7..e8eaf6a 100644 (file)
@@ -113,7 +113,7 @@ udp_manip_pkt(struct sk_buff **pskb,
                newport = tuple->dst.u.udp.port;
                portptr = &hdr->dest;
        }
-       if (hdr->check) /* 0 is a special case meaning no checksum */
+       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);
@@ -123,6 +123,7 @@ udp_manip_pkt(struct sk_buff **pskb,
                                        ip_nat_cheat_check(*portptr ^ 0xFFFF,
                                                           newport,
                                                           hdr->check));
+       }
        *portptr = newport;
        return 1;
 }