Stefano Garzarella
7e0afbdfd1
vsock: fix timeout in vsock_accept()
...
The accept(2) is an "input" socket interface, so we should use
SO_RCVTIMEO instead of SO_SNDTIMEO to set the timeout.
So this patch replace sock_sndtimeo() with sock_rcvtimeo() to
use the right timeout in the vsock_accept().
Fixes: d021c344051a ("VSOCK: Introduce VM Sockets")
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Reviewed-by: Jorgen Hansen <jhansen@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-05-27 11:20:23 -07:00
..
2019-07-06 12:50:01 +02:00
2020-03-27 09:29:56 +00:00
2020-02-24 13:02:53 -08:00
2020-02-17 14:30:54 -08:00
2019-09-24 16:37:18 +02:00
2020-05-04 11:59:38 -07:00
2020-05-20 20:59:07 -07:00
2020-04-21 10:08:05 +02:00
2020-03-25 22:16:08 +01:00
2020-03-28 18:13:18 +01:00
2020-04-03 13:12:26 -07:00
2020-05-25 20:39:05 +02:00
2020-03-11 22:55:25 -07:00
2019-12-08 11:52:02 +01:00
2020-03-30 12:42:41 +02:00
2020-05-21 17:52:45 -07:00
2020-02-29 15:53:35 -08:00
2020-03-23 21:57:44 -07:00
2020-03-29 12:40:41 +01:00
2020-05-16 13:49:28 -07:00
2020-01-27 11:09:31 +01:00
2020-05-21 16:59:19 -07:00
2020-05-06 15:00:20 -07:00
2020-03-03 13:28:48 -08:00
2019-09-26 08:56:17 +02:00
2020-05-26 16:06:07 -07:00
2020-05-21 17:25:50 -07:00
2019-12-09 10:36:44 -08:00
2020-03-16 17:14:02 -07:00
2019-07-08 19:48:57 -07:00
2020-04-08 14:30:46 -07:00
2020-02-26 20:38:13 -08:00
2020-05-25 10:31:16 +02:00
2020-03-29 22:30:57 -07:00
2020-05-26 20:18:24 -07:00
2020-01-09 18:36:22 -08:00
2020-05-25 20:39:14 +02:00
2020-05-12 18:12:40 -07:00
2020-03-25 18:58:11 -07:00
2020-04-18 13:09:46 -07:00
2020-03-12 22:34:48 -07:00
2020-04-20 10:53:54 -07:00
2020-03-15 00:25:25 -07:00
2020-01-03 12:25:50 -08:00
2019-11-26 14:40:13 -08:00
2020-05-21 17:04:53 -07:00
2020-04-15 12:33:29 -07:00
2019-12-16 10:15:49 +01:00
2020-01-26 10:40:21 +01:00
2020-05-23 00:35:46 +01:00
2020-05-27 11:11:18 -07:00
2020-05-26 20:32:06 -07:00
2020-03-12 22:34:48 -07:00
2020-05-15 14:03:13 -07:00
2020-02-26 20:58:33 -08:00
2020-05-22 15:39:00 -07:00
2020-05-25 17:41:40 -07:00
2020-02-28 12:12:53 -08:00
2020-05-27 11:20:23 -07:00
2019-08-10 15:25:47 -07:00
2020-05-25 13:12:32 +02:00
2020-04-28 14:08:59 -07:00
2020-04-15 13:07:18 +02:00
2020-03-30 10:59:20 -07:00
2020-03-10 09:12:49 -06:00
2020-03-25 12:24:33 -07:00
2020-01-24 13:44:07 +01:00
2020-03-30 12:18:49 -07:00