summaryrefslogtreecommitdiff
path: root/net/rxrpc/conn_object.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2022-10-21 09:30:23 +0100
committerDavid Howells <dhowells@redhat.com>2023-01-06 09:43:32 +0000
commit1bab27af6b88b5c811f99de4812b5590f20d1cb7 (patch)
tree5310856eca1c21f3cae48c7b372bd7e27ce299be /net/rxrpc/conn_object.c
parent2953d3b8d8fd1188034c54862b74402b0b846695 (diff)
downloadlwn-1bab27af6b88b5c811f99de4812b5590f20d1cb7.tar.gz
lwn-1bab27af6b88b5c811f99de4812b5590f20d1cb7.zip
rxrpc: Set up a connection bundle from a call, not rxrpc_conn_parameters
Use the information now stored in struct rxrpc_call to configure the connection bundle and thence the connection, rather than using the rxrpc_conn_parameters struct. Signed-off-by: David Howells <dhowells@redhat.com> cc: Marc Dionne <marc.dionne@auristor.com> cc: linux-afs@lists.infradead.org
Diffstat (limited to 'net/rxrpc/conn_object.c')
-rw-r--r--net/rxrpc/conn_object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rxrpc/conn_object.c b/net/rxrpc/conn_object.c
index 2e3f0a222e1b..2a7d5378300c 100644
--- a/net/rxrpc/conn_object.c
+++ b/net/rxrpc/conn_object.c
@@ -208,7 +208,7 @@ void rxrpc_disconnect_call(struct rxrpc_call *call)
}
if (rxrpc_is_client_call(call)) {
- rxrpc_disconnect_client_call(conn->bundle, call);
+ rxrpc_disconnect_client_call(call->bundle, call);
} else {
spin_lock(&conn->bundle->channel_lock);
__rxrpc_disconnect_call(conn, call);