From: wangweidong Date: Thu, 12 Dec 2013 01:36:42 +0000 (+0800) Subject: tipc: change lock_sock order in connect() X-Git-Tag: v3.14-rc1~94^2~488 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3fbccf2b01f8262faa1479712be6a55c626bdef;p=pandora-kernel.git tipc: change lock_sock order in connect() Instead of reaquiring the socket lock and taking the normal exit path when a connection times out, we bail out early with a return -ETIMEDOUT. Reviewed-by: Jon Maloy Reviewed-by: Erik Hugne Signed-off-by: Wang Weidong Signed-off-by: David S. Miller --- Reading git-diff-tree failed