git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BLT -> MOD : CONFIG_IOSCHED_AS
[linux-2.6.git]
/
net
/
ipv4
/
netfilter
/
ip_nat_proto_udp.c
diff --git
a/net/ipv4/netfilter/ip_nat_proto_udp.c
b/net/ipv4/netfilter/ip_nat_proto_udp.c
index
e8eaf6a
..
802ceb7
100644
(file)
--- a/
net/ipv4/netfilter/ip_nat_proto_udp.c
+++ b/
net/ipv4/netfilter/ip_nat_proto_udp.c
@@
-113,7
+113,7
@@
udp_manip_pkt(struct sk_buff **pskb,
newport = tuple->dst.u.udp.port;
portptr = &hdr->dest;
}
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);
#ifdef CONFIG_XEN
if ((*pskb)->proto_csum_blank)
hdr->check = ip_nat_cheat_check(oldip, ~newip, hdr->check);
@@
-123,7
+123,6
@@
udp_manip_pkt(struct sk_buff **pskb,
ip_nat_cheat_check(*portptr ^ 0xFFFF,
newport,
hdr->check));
ip_nat_cheat_check(*portptr ^ 0xFFFF,
newport,
hdr->check));
- }
*portptr = newport;
return 1;
}
*portptr = newport;
return 1;
}