diff options
author | Flavio Leitner <fbl@redhat.com> | 2012-01-25 08:34:51 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-01-25 21:50:43 -0500 |
commit | 2b05ad33e1e624e7f08b8676d270dc7725403b7e (patch) | |
tree | 0f180ef1fa0efcea96738315917eaa014c2ac8f0 /sound | |
parent | 68315801dbf3ab2001679fd2074c9dc5dcf87dfa (diff) |
tcp: bind() fix autoselection to share ports
The current code checks for conflicts when the application
requests a specific port. If there is no conflict, then
the request is granted.
On the other hand, the port autoselection done by the kernel
fails when all ports are bound even when there is a port
with no conflict available.
The fix changes port autoselection to check if there is a
conflict and use it if not.
Signed-off-by: Flavio Leitner <fbl@redhat.com>
Signed-off-by: Marcelo Ricardo Leitner <mleitner@redhat.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions