[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <48ED34C4.3080203@cosmosbay.com>
Date: Thu, 09 Oct 2008 00:31:32 +0200
From: Eric Dumazet <dada1@...mosbay.com>
To: "David S. Miller" <davem@...emloft.net>
Cc: Linux Netdev List <netdev@...r.kernel.org>
Subject: [RFC, PATCH] 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@...mosbay.com>
View attachment "udp_inuse.patch" of type "text/plain" (2719 bytes)
Powered by blists - more mailing lists