Stefan Hajnoczi
ba3169fc75
VSOCK: set POLLOUT | POLLWRNORM for TCP_CLOSING
...
select(2) with wfds but no rfds must return when the socket is shut down
by the peer. This way userspace notices socket activity and gets -EPIPE
from the next write(2).
Currently select(2) does not return for virtio-vsock when a SEND+RCV
shutdown packet is received. This is because vsock_poll() only sets
POLLOUT | POLLWRNORM for TCP_CLOSE, not the TCP_CLOSING state that the
socket is in when the shutdown is received.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-01-26 11:16:27 -05:00
..
2017-11-02 11:10:55 +01:00
2018-01-15 13:13:53 -05:00
2017-11-21 15:57:07 -08:00
2018-01-10 15:31:07 -05:00
2017-11-21 15:57:07 -08:00
2017-11-21 16:35:54 -08:00
2017-11-04 09:26:51 +09:00
2017-12-04 11:47:33 +01:00
2018-01-04 17:01:01 +01:00
2017-09-26 13:36:44 -07:00
2017-12-18 13:29:01 -05:00
2018-01-10 15:06:14 -05:00
2018-01-18 09:32:54 +01:00
2017-11-21 05:38:32 -10:00
2018-01-22 16:00:05 -05:00
2017-08-09 16:57:38 -07:00
2018-01-26 11:15:00 -05:00
2017-11-21 15:57:07 -08:00
2017-10-18 09:12:40 +01:00
2017-12-13 13:18:46 -05:00
2017-06-16 11:48:40 -04:00
2017-10-25 13:00:27 +09:00
2017-11-04 09:26:51 +09:00
2017-11-01 12:19:03 +09:00
2018-01-25 16:27:34 -05:00
2018-01-25 16:27:34 -05:00
2017-11-04 09:26:51 +09:00
2017-07-03 02:31:22 -07:00
2018-01-24 15:54:30 -05:00
2018-01-10 09:45:11 +01:00
2017-11-14 15:45:53 +09:00
2017-11-21 16:35:54 -08:00
2017-11-15 11:56:19 -08:00
2018-01-04 15:51:53 +01:00
2017-11-04 09:26:51 +09:00
2017-11-04 09:26:51 +09:00
2017-11-21 15:57:09 -08:00
2018-01-08 20:21:39 -08:00
2017-11-18 10:32:41 +09:00
2018-01-18 15:14:51 -05:00
2017-11-21 16:35:54 -08:00
2017-11-21 15:57:07 -08:00
2017-11-08 16:12:33 +09:00
2018-01-15 14:33:16 -05:00
2017-11-28 11:13:30 -05:00
2017-11-14 15:45:53 +09:00
2017-11-01 12:19:03 +09:00
2017-11-10 10:00:18 +09:00
2018-01-22 15:43:54 -05:00
2017-06-13 11:07:51 +02:00
2017-11-21 16:35:54 -08:00
2017-12-03 10:05:20 -05:00
2018-01-24 14:52:40 -05:00
2018-01-22 16:01:30 -05:00
2017-11-24 01:33:34 +09:00
2017-12-28 14:28:22 -05:00
2017-12-16 13:12:53 -08:00
2017-11-10 13:41:40 +09:00
2018-01-15 13:45:50 -05:00
2018-01-22 16:25:21 -05:00
2017-11-04 09:26:51 +09:00
2018-01-26 11:16:27 -05:00
2017-11-02 11:10:55 +01:00
2018-01-18 15:36:18 -05:00
2017-11-21 16:35:54 -08:00
2018-01-23 10:56:36 +01:00
2017-09-20 15:36:18 -07:00
2017-09-04 13:25:20 +02:00
2017-11-02 11:10:55 +01:00
2018-01-10 17:55:42 -08:00
2017-04-16 23:42:49 -05:00