From: Sasha Levin Date: Fri, 13 Dec 2013 15:54:22 +0000 (-0500) Subject: net: unix: allow bind to fail on mutex lock X-Git-Tag: v3.2.55~74 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e737a8ace4d0ad5f15aec3fd4367282d0273321;p=pandora-kernel.git net: unix: allow bind to fail on mutex lock [ Upstream commit 37ab4fa7844a044dc21fde45e2a0fc2f3c3b6490 ] This is similar to the set_peek_off patch where calling bind while the socket is stuck in unix_dgram_recvmsg() will block and cause a hung task spew after a while. This is also the last place that did a straightforward mutex_lock(), so there shouldn't be any more of these patches. Signed-off-by: Sasha Levin Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed