Re: [PATCH net] vsock: fix timeout in vsock_accept()

2020-05-27 Thread David Miller
From: Stefano Garzarella Date: Wed, 27 May 2020 09:56:55 +0200 > 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()

RE: [PATCH net] vsock: fix timeout in vsock_accept()

2020-05-27 Thread Jorgen Hansen
> From: Stefano Garzarella > Sent: Wednesday, May 27, 2020 9:57 AM > > 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_ac