Re: [PATCH 4/4] vsock: cancel packets when failing to connect
From: Stefan Hajnoczi <hidden>
Date: 2016-12-07 13:25:40
Also in:
kvm
Attachments
- signature.asc [application/pgp-signature] 455 bytes
From: Stefan Hajnoczi <hidden>
Date: 2016-12-07 13:25:40
Also in:
kvm
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 <redacted> --- include/linux/virtio_vsock.h | 7 +++++++ net/vmw_vsock/af_vsock.c | 7 +++++++ net/vmw_vsock/virtio_transport_common.c | 7 ------- 3 files changed, 14 insertions(+), 7 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>