Thread View: linux.kernel.netdev
1 messages
1 total messages
Started by Michal Luczaj
Mon, 30 Nov 2026 17:14
Re: [PATCH net-next v7 1/7] vsock: constify the transport in vsock_for_each_connected_socket()
Author: Michal Luczaj
Date: Mon, 30 Nov 2026 17:14
Date: Mon, 30 Nov 2026 17:14
17 lines
9538 bytes
9538 bytes
On 11/18/26 02:54, Bobby Eshleman wrote: > 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. Which made me wonder: why stop here? Constify all 'static struct vsock_transport *_transport'. I see no reason why all these transport callbacks are writable. I'm happy to post a patch, just making sure I haven't missed some good reason why not to. thanks, Michal
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads