From: Allan Stephens Date: Mon, 12 May 2008 22:42:28 +0000 (-0700) Subject: tipc: Fix race condition when creating socket or native port X-Git-Tag: v2.6.27-rc1~969^2~444 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ef43ebaa538e0cc9063cbf84593a05091bcace2;p=pandora-kernel.git tipc: Fix race condition when creating socket or native port This patch eliminates the (very remote) chance of a crash resulting from a partially initialized socket or native port unexpectedly receiving a message. Now, during the creation of a socket or native port, the underlying generic port's lock is not released until all initialization required to handle incoming messages has been done. Signed-off-by: Allan Stephens Signed-off-by: David S. Miller --- Reading git-diff-tree failed