android_kernel_google_msm/net/unix
Eric Dumazet d7fc329bf0 net: unix: non blocking recvmsg() should not return -EINTR
[ Upstream commit de14439167 ]

Some applications didn't expect recvmsg() on a non blocking socket
could return -EINTR. This possibility was added as a side effect
of commit b3ca9b02b0 ("net: fix multithreaded signal handling in
unix recv routines").

To hit this bug, you need to be a bit unlucky, as the u->readlock
mutex is usually held for very small periods.

Fixes: b3ca9b02b0 ("net: fix multithreaded signal handling in unix recv routines")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Rainer Weikusat <rweikusat@mobileactivedefense.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-04-26 17:13:16 -07:00
..
af_unix.c net: unix: non blocking recvmsg() should not return -EINTR 2014-04-26 17:13:16 -07:00
diag.c unix_diag: fix info leak 2013-11-04 04:23:41 -08:00
garbage.c
Kconfig net: Default UDP and UNIX diag to 'n'. 2012-01-07 12:13:06 -08:00
Makefile
sysctl_net_unix.c