From: Eric Dumazet Date: Thu, 9 Oct 2008 21:51:27 +0000 (-0700) Subject: udp: complete port availability checking X-Git-Tag: v2.6.28-rc1~717^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f24d43c07e208372aa3d3bff419afbf43ba87698;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed