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

2016-12-12 Thread Jorgen S. Hansen
> On Dec 8, 2016, at 6:12 PM, 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. > > Reviewed-by: Stefan Hajnoczi > Sign

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

2016-12-09 Thread Stefan Hajnoczi
On Fri, Dec 09, 2016 at 01:12:36AM +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. > > Reviewed-by: Stefan Hajnoczi

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

2016-12-08 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. Reviewed-by: Stefan Hajnoczi Signed-off-by: Peng Tao --- net/vmw_vsock/af_vsock.c | 14 +++