diff options
author | Flavio Leitner <fbl@redhat.com> | 2012-01-25 08:34:52 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-01-26 02:50:43 (GMT) |
commit | fddb7b5761f104f034a0e708ece756d9b2eb2cac (patch) | |
tree | f995ec889ebc1edc3fc9d3b0fe1da1fe9c2d6b76 /fs/cramfs | |
parent | 2b05ad33e1e624e7f08b8676d270dc7725403b7e (diff) | |
download | linux-fddb7b5761f104f034a0e708ece756d9b2eb2cac.tar.xz |
tcp: bind() optimize port allocation
Port autoselection finds a port and then drop the lock,
then right after that, gets the hash bucket again and lock it.
Fix it to go direct.
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 'fs/cramfs')
0 files changed, 0 insertions, 0 deletions