Re: [PATCH 4/4] vsock: cancel packets when failing to connect

2016-12-07 Thread Stefan Hajnoczi
On Wed, Dec 07, 2016 at 06:00:21PM +0800, Peng Tao wrote: > Otherwise we'll leave the packets queued until releasing vsock device. > E.g., if guest is slow to start up, resulting ETIMEDOUT on connect, guest > will get the connect requests from failed host sockets. > > Signed-off-by: Peng Tao > --

[PATCH 4/4] vsock: cancel packets when failing to connect

2016-12-07 Thread Peng Tao
Otherwise we'll leave the packets queued until releasing vsock device. E.g., if guest is slow to start up, resulting ETIMEDOUT on connect, guest will get the connect requests from failed host sockets. Signed-off-by: Peng Tao --- include/linux/virtio_vsock.h| 7 +++ net/vmw_vsock/