Eric Dumazet f24d43c07e 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>
2008-10-09 14:51:27 -07:00
..
2008-07-16 20:31:16 -07:00
2008-07-16 20:20:11 -07:00
2008-09-02 17:28:58 -07:00
2008-08-06 02:39:30 -07:00
2008-10-07 15:34:37 -07:00
2008-06-11 21:00:38 -07:00
2008-07-16 20:20:11 -07:00
2008-06-11 21:00:38 -07:00
2008-06-11 21:00:38 -07:00
2008-10-07 08:38:24 +11:00
2008-10-07 08:38:24 +11:00
2008-06-11 21:00:38 -07:00
2008-07-16 20:19:49 -07:00
2008-05-01 08:03:58 -07:00
2008-06-11 21:00:38 -07:00
2008-10-07 14:43:06 -07:00
2008-10-07 14:43:06 -07:00
2008-07-10 16:51:32 -07:00
2008-10-07 14:18:42 -07:00
2008-10-07 14:43:06 -07:00
2008-10-09 14:51:27 -07:00
2008-03-26 16:51:09 -07:00