]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rxrpc: Allow the app to store private data on peer structs
authorDavid Howells <dhowells@redhat.com>
Fri, 11 Apr 2025 09:52:55 +0000 (10:52 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 15 Apr 2025 00:36:42 +0000 (17:36 -0700)
commitb794dc17cdd0517edb377edf863c2dc1f2dec781
tree41ef482dd6d2f3b393545cd6af244657ad5c3ed8
parent7a7513a3081c6a2729d8570c77bbed1978277dc9
rxrpc: Allow the app to store private data on peer structs

Provide a way for the application (e.g. the afs filesystem) to store
private data on the rxrpc_peer structs for later retrieval via the call
object.

This will allow afs to store a pointer to the afs_server object on the
rxrpc_peer struct, thereby obviating the need for afs to keep lookup tables
by which it can associate an incoming call with server that transmitted it.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: Simon Horman <horms@kernel.org>
cc: linux-afs@lists.infradead.org
Link: https://patch.msgid.link/20250411095303.2316168-11-dhowells@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/rxrpc/oob.c