rxrpc: Replace conn->trans->{local,peer} with conn->params.{local,peer}
Replace accesses of conn->trans->{local,peer} with
conn->params.{local,peer} thus making it easier for a future commit to
remove the rxrpc_transport struct.
This also reduces the number of memory accesses involved.
Signed-off-by: David Howells <dhowells@redhat.com>
This commit is contained in:
@@ -583,7 +583,7 @@ static int rxrpc_send_data(struct rxrpc_sock *rx,
|
||||
goto maybe_error;
|
||||
}
|
||||
|
||||
max = call->conn->trans->peer->maxdata;
|
||||
max = call->conn->params.peer->maxdata;
|
||||
max -= call->conn->security_size;
|
||||
max &= ~(call->conn->size_align - 1UL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user