From: Flavio Leitner Date: Wed, 25 Jan 2012 08:34:52 +0000 (+0000) Subject: tcp: bind() optimize port allocation X-Git-Tag: v3.3-rc2~6^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fddb7b5761f104f034a0e708ece756d9b2eb2cac;p=pandora-kernel.git tcp: bind() optimize port allocation Port autoselection finds a port and then drop the lock, then right after that, gets the hash bucket again and lock it. Fix it to go direct. Signed-off-by: Flavio Leitner Signed-off-by: Marcelo Ricardo Leitner Acked-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed