rxrpc: Stash the network namespace pointer in rxrpc_local
authorDavid Howells <dhowells@redhat.com>
Thu, 20 Oct 2022 22:17:06 +0000 (23:17 +0100)
committerDavid Howells <dhowells@redhat.com>
Fri, 6 Jan 2023 09:43:31 +0000 (09:43 +0000)
commit8a758d98dba380a7d32a98b0840ad707e3036233
treee83b0be432cab4be343e58c4b098ede2b7501885
parenteea8ce81fbb544e3caad1a1c876ba1af467b3d3c
rxrpc: Stash the network namespace pointer in rxrpc_local

Stash the network namespace pointer in the rxrpc_local struct in addition
to a pointer to the rxrpc-specific net namespace info.  Use this to remove
some places where the socket is passed as a parameter.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
net/rxrpc/ar-internal.h
net/rxrpc/call_accept.c
net/rxrpc/conn_client.c
net/rxrpc/local_object.c
net/rxrpc/peer_object.c