diff options
author | David Howells <dhowells@redhat.com> | 2016-06-16 14:31:07 +0200 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2016-06-22 10:10:01 +0200 |
commit | 42886ffe77f142c36ecf585d60fff2edd06b5be8 (patch) | |
tree | d780e30691cbd7f761b662265849642ca19f112e /net/rxrpc/call_accept.c | |
parent | rxrpc: Fix exclusive connection handling (diff) | |
download | linux-42886ffe77f142c36ecf585d60fff2edd06b5be8.tar.xz linux-42886ffe77f142c36ecf585d60fff2edd06b5be8.zip |
rxrpc: Pass sk_buff * rather than rxrpc_host_header * to functions
Pass a pointer to struct sk_buff rather than struct rxrpc_host_header to
functions so that they can in the future get at transport protocol parameters
rather than just RxRPC parameters.
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'net/rxrpc/call_accept.c')
-rw-r--r-- | net/rxrpc/call_accept.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/rxrpc/call_accept.c b/net/rxrpc/call_accept.c index 553b67c144e5..5a70dc4e28c6 100644 --- a/net/rxrpc/call_accept.c +++ b/net/rxrpc/call_accept.c @@ -110,7 +110,7 @@ static int rxrpc_accept_incoming_call(struct rxrpc_local *local, goto error; } - conn = rxrpc_incoming_connection(trans, &sp->hdr); + conn = rxrpc_incoming_connection(trans, skb); rxrpc_put_transport(trans); if (IS_ERR(conn)) { _debug("no conn"); @@ -118,7 +118,7 @@ static int rxrpc_accept_incoming_call(struct rxrpc_local *local, goto error; } - call = rxrpc_incoming_call(rx, conn, &sp->hdr); + call = rxrpc_incoming_call(rx, conn, skb); rxrpc_put_connection(conn); if (IS_ERR(call)) { _debug("no call"); |