Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 236573
b: refs/heads/master
c: ab0cba2
h: refs/heads/master
i:
  236571: 90f4fb2
v: v3
  • Loading branch information
Eric Dumazet authored and Patrick McHardy committed Nov 15, 2010
1 parent 5b28408 commit de274bf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: eb733162ae4f69b93f7c08012e6e239f31796de8
refs/heads/master: ab0cba25128e1435a59b1ec4ae0c7505548fed87
8 changes: 4 additions & 4 deletions trunk/net/ipv4/netfilter/nf_nat_amanda.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 ret;
int res;

exp->tuple.dst.u.tcp.port = htons(port);
ret = nf_ct_expect_related(exp);
if (ret == 0)
res = nf_ct_expect_related(exp);
if (res == 0)
break;
else if (ret != -EBUSY) {
else if (res != -EBUSY) {
port = 0;
break;
}
Expand Down

0 comments on commit de274bf

Please sign in to comment.