afs: Use peer + service_id as call address
authorDavid Howells <dhowells@redhat.com>
Thu, 26 Oct 2023 17:13:13 +0000 (18:13 +0100)
committerDavid Howells <dhowells@redhat.com>
Sun, 24 Dec 2023 15:22:55 +0000 (15:22 +0000)
commite38f299ececc6b63a47074cc922ce8bbd3350c58
treeecc17b03534f8cf14931c7aefe68e439e88afca6
parent905b86156423de48480d915c5cd3c23bef1bc043
afs: Use peer + service_id as call address

Use the rxrpc_peer plus the service ID as the call address instead of
passing in a sockaddr_srx down to rxrpc.  The peer record is obtained by
using rxrpc_kernel_get_peer().  This avoids the need to repeatedly look up
the peer and allows rxrpc to hold on to resources for it.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
fs/afs/addr_list.c
fs/afs/fs_probe.c
fs/afs/fsclient.c
fs/afs/internal.h
fs/afs/rxrpc.c
fs/afs/server.c
fs/afs/vl_list.c
fs/afs/vl_probe.c
fs/afs/vlclient.c