diff options
author | Eric Dumazet <dada1@cosmosbay.com> | 2008-10-09 14:51:27 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-09 14:51:27 -0700 |
commit | f24d43c07e208372aa3d3bff419afbf43ba87698 (patch) | |
tree | 7c7c79e4b5e1759288e8d6d7604e72cc591fdd60 /mm/swapfile.c | |
parent | 626e264dd1989bdc98a5eaf2e059af4dba07ac4f (diff) |
udp: complete port availability checking
While looking at UDP port randomization, I noticed it
was litle bit pessimistic, not looking at type of sockets
(IPV6/IPV4) and not looking at bound addresses if any.
We should perform same tests than when binding to a
specific port.
This permits a cleanup of udp_lib_get_port()
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/swapfile.c')
0 files changed, 0 insertions, 0 deletions