Thread (31 messages) flat view 31 messages, 4 authors, 1d ago

Re: [PATCH net-next 1/6] vsock: constify the transport in vsock_for_each_connected_socket()

From: Stefano Garzarella <sgarzare@redhat.com>
Date: 2026-09-15 15:42:26
Also in: kvm, linux-doc, linux-kselftest, lkml, virtualization

On Wed, Sep 02, 2026 at 04:00:47PM -0700, Bobby Eshleman wrote:
From: Bobby Eshleman <redacted>

Allow const transports to be passed too. The function only compares the
pointer against vsk->transport, which is itself const, and never writes
through it.

No functional change.

Signed-off-by: Bobby Eshleman <redacted>
---
include/net/af_vsock.h   | 2 +-
net/vmw_vsock/af_vsock.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help