projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb73316
)
netfilter: nf_nat_amanda: rename a variable
author
Eric Dumazet
<
[email protected]
>
Mon, 15 Nov 2010 17:45:12 +0000
(18:45 +0100)
committer
Patrick McHardy
<
[email protected]
>
Mon, 15 Nov 2010 17:45:12 +0000
(18:45 +0100)
Avoid a sparse warning about 'ret' variable shadowing
Signed-off-by: Eric Dumazet <
[email protected]
>
Signed-off-by: Patrick McHardy <
[email protected]
>
net/ipv4/netfilter/nf_nat_amanda.c
patch
|
blob
|
history
diff --git
a/net/ipv4/netfilter/nf_nat_amanda.c
b/net/ipv4/netfilter/nf_nat_amanda.c
index 0f23b3f06df05e7643e1cd337325955dc6942794..703f366fd2358a3dd32c813700511ffb5129f351 100644
(file)
--- a/
net/ipv4/netfilter/nf_nat_amanda.c
+++ b/
net/ipv4/netfilter/nf_nat_amanda.c
@@
-44,13
+44,13
@@
static unsigned int help(struct sk_buff *skb,
/* Try to get same port: if not, try to change it. */
for (port = ntohs(exp->saved_proto.tcp.port); port != 0; port++) {
- int re
t
;
+ int re
s
;
exp->tuple.dst.u.tcp.port = htons(port);
- re
t
= nf_ct_expect_related(exp);
- if (re
t
== 0)
+ re
s
= nf_ct_expect_related(exp);
+ if (re
s
== 0)
break;
- else if (re
t
!= -EBUSY) {
+ else if (re
s
!= -EBUSY) {
port = 0;
break;
}