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

From: Stefano Garzarella

Date: Tue Sep 15 2026 - 11:49:29 EST


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

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 <bobbyeshleman@xxxxxxxx>
---
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@xxxxxxxxxx>