commit | d5d283751ef3c05b6766501a46800cbee84959d6 | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Tue Aug 23 10:49:54 2005 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Aug 23 10:49:54 2005 -0700 |
tree | c8de7a2dbd69efb233f1b051bdfceed7eded379a | |
parent | 89ebd197eb2cd31d6187db344d5117064e19fdde [diff] |
[TCP]: Document non-trivial locking path in tcp_v{4,6}_get_port(). This trips up a lot of folks reading this code. Put an unlikely() around the port-exhaustion test for good measure. Signed-off-by: David S. Miller <davem@davemloft.net>