rxrpc: Drop the local endpoint arg from rxrpc_extract_addr_from_skb()
rxrpc_extract_addr_from_skb() doesn't use the argument that points to the local endpoint, so remove the argument. Signed-off-by: David Howells <dhowells@redhat.com>
This commit is contained in:
@@ -86,7 +86,7 @@ struct rxrpc_connection *rxrpc_find_connection_rcu(struct rxrpc_local *local,
|
||||
|
||||
_enter(",%x", sp->hdr.cid & RXRPC_CIDMASK);
|
||||
|
||||
if (rxrpc_extract_addr_from_skb(local, &srx, skb) < 0)
|
||||
if (rxrpc_extract_addr_from_skb(&srx, skb) < 0)
|
||||
goto not_found;
|
||||
|
||||
if (srx.transport.family != local->srx.transport.family &&
|
||||
|
Reference in New Issue
Block a user