diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2026-06-13 10:39:32 -0700 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-06-13 10:39:32 -0700 |
| commit | 30b81fc779c9333ddd803facb0c50cbfaebaeddc (patch) | |
| tree | a9c446091ced44fe3323537e09ed95ac43b2908e /include | |
| parent | 4ff2e84ff1b33d79fa0e3ae355ce4a334908ef9a (diff) | |
| parent | 27fc25bb82e6934cf4473539d58dd179961a5447 (diff) | |
Merge branch 'vsock-consolidate-acceptq-accounting-into-core-helpers'
Raf Dickson says:
====================
vsock: consolidate acceptq accounting into core helpers
These patches follow up on commit c05fa14db43e
("vsock/vmci: fix sk_ack_backlog leak on failed handshake")
by consolidating sk_acceptq_added() and sk_acceptq_removed() into
the core vsock helpers so transports cannot forget them.
Link: https://lore.kernel.org/netdev/20260611021317.69362-1-rafdog35@gmail.com/
====================
Link: https://patch.msgid.link/20260612045216.105796-1-rafdog35@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/net/af_vsock.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/af_vsock.h b/include/net/af_vsock.h index 4e40063adab4..30046a3c20f7 100644 --- a/include/net/af_vsock.h +++ b/include/net/af_vsock.h @@ -220,6 +220,7 @@ static inline bool __vsock_in_connected_table(struct vsock_sock *vsk) void vsock_add_pending(struct sock *listener, struct sock *pending); void vsock_remove_pending(struct sock *listener, struct sock *pending); void vsock_enqueue_accept(struct sock *listener, struct sock *connected); +void vsock_pending_to_accept(struct sock *listener, struct sock *pending); void vsock_insert_connected(struct vsock_sock *vsk); void vsock_remove_bound(struct vsock_sock *vsk); void vsock_remove_connected(struct vsock_sock *vsk); |
