diff options
author | Eric Dumazet <edumazet@google.com> | 2014-03-25 18:42:27 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-26 17:05:40 -0400 |
commit | de1443916791d75fdd26becb116898277bb0273f (patch) | |
tree | 26fa8bd2f7ea36df46746a2b57e48f3247733d13 /fs/fcntl.c | |
parent | dc0fe58f356b109c662c6c85562460b0e8be9f5f (diff) | |
download | op-kernel-dev-de1443916791d75fdd26becb116898277bb0273f.zip op-kernel-dev-de1443916791d75fdd26becb116898277bb0273f.tar.gz |
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 <edumazet@google.com>
Cc: Rainer Weikusat <rweikusat@mobileactivedefense.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/fcntl.c')
0 files changed, 0 insertions, 0 deletions