Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 133957
b: refs/heads/master
c: 5add300
h: refs/heads/master
i:
  133955: fa6bfa5
v: v3
  • Loading branch information
Stephen Hemminger authored and David S. Miller committed Feb 1, 2009
1 parent cfc420b commit 721c064
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: ad0f9904444de1309dedd2b9e365cae8af77d9b1
refs/heads/master: 5add300975cf36b1bd30c461105bb938da260f14
3 changes: 2 additions & 1 deletion trunk/net/ipv4/inet_connection_sock.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,8 @@ int inet_csk_get_port(struct sock *sk, unsigned short snum)
} else {
ret = 1;
if (inet_csk(sk)->icsk_af_ops->bind_conflict(sk, tb)) {
if (sk->sk_reuse && sk->sk_state != TCP_LISTEN && --attempts >= 0) {
if (sk->sk_reuse && sk->sk_state != TCP_LISTEN &&
smallest_size != -1 && --attempts >= 0) {
spin_unlock(&head->lock);
goto again;
}
Expand Down

0 comments on commit 721c064

Please sign in to comment.