From: Eric Dumazet Date: Wed, 26 Mar 2014 01:42:27 +0000 (-0700) Subject: net: unix: non blocking recvmsg() should not return -EINTR X-Git-Tag: v3.14~8^2~19 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de1443916791d75fdd26becb116898277bb0273f;p=pandora-kernel.git net: unix: non blocking recvmsg() should not return -EINTR Some applications didn't expect recvmsg() on a non blocking socket could return -EINTR. This possibility was added as a side effect of commit b3ca9b02b00704 ("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: b3ca9b02b00704 ("net: fix multithreaded signal handling in unix recv routines") Signed-off-by: Eric Dumazet Cc: Rainer Weikusat Signed-off-by: David S. Miller --- Reading git-diff-tree failed