Files
tegra-linux-noble/include/linux
Sasha Levin 12663bfc97 net: unix: allow set_peek_off to fail
unix_dgram_recvmsg() will hold the readlock of the socket until recv
is complete.

In the same time, we may try to setsockopt(SO_PEEK_OFF) which will hang until
unix_dgram_recvmsg() will complete (which can take a while) without allowing
us to break out of it, triggering a hung task spew.

Instead, allow set_peek_off to fail, this way userspace will not hang.

Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Acked-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-12-10 21:45:15 -05:00
..
2013-11-08 08:59:44 -07:00
2013-10-28 13:33:58 -06:00
2013-11-15 09:32:23 +09:00
2013-11-15 09:32:21 +09:00
2013-11-09 00:16:29 -05:00
2013-11-15 22:04:17 -05:00
2013-09-29 18:27:03 -07:00
2013-10-16 18:40:57 -07:00
2013-11-15 09:32:23 +09:00
2013-11-13 12:09:11 +09:00
2013-11-09 00:16:19 -05:00
2013-11-09 00:16:19 -05:00
2013-12-10 21:45:15 -05:00
2013-10-14 17:15:48 +02:00
2013-10-17 00:36:06 +02:00
2013-11-14 15:16:16 +11:00
2013-10-17 15:53:09 -04:00