On Thu, Jun 11, 2026 at 09:55:09AM +0000, Raf Dickson wrote:
On Thu, Jun 11, 2026 at 09:42:12AM +0200, Stefano Garzarella wrote:
Okay, but VMCI still need to call vsock_add_pending() and
sk_acceptq_added() in vmci_transport_recv_listen(), no?

Yes correct, vsock_add_pending() and sk_acceptq_added() stay in
recv_listen(). vsock_pending_to_accept() only replaces the
vsock_remove_pending() + vsock_enqueue_accept() calls in
recv_connecting_server() once the handshake completes.

So the v3 series will be 4 patches:
 1/4: introduce vsock_pending_to_accept()
 2/4: fold sk_acceptq_added() into vsock_add_pending()
 3/4: fold sk_acceptq_added() into vsock_enqueue_accept() (virtio/hyperv)
 4/4: fold sk_acceptq_removed() into vsock_remove_pending()

Okay, LGTM!

Stefano


Reply via email to