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:
@@ -560,7 +560,7 @@ static void rxrpc_post_packet_to_call(struct rxrpc_call *call,
|
||||
dead_call:
|
||||
if (sp->hdr.type != RXRPC_PACKET_TYPE_ABORT) {
|
||||
skb->priority = RX_CALL_DEAD;
|
||||
rxrpc_reject_packet(call->conn->trans->local, skb);
|
||||
rxrpc_reject_packet(call->conn->params.local, skb);
|
||||
goto unlock;
|
||||
}
|
||||
free_unlock:
|
||||
|
||||
Reference in New Issue
Block a user