rxrpc: Use rxrpc_extract_addr_from_skb() rather than doing this manually
authorDavid Howells <dhowells@redhat.com>
Tue, 13 Sep 2016 07:49:05 +0000 (08:49 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 13 Sep 2016 22:09:13 +0000 (23:09 +0100)
commit1c2bc7b948a2adee0d3e070f4ce14645efa0a2d2
treef0be7662a6eaadbf8a0c7ba232df1557bec8ddf4
parentaaa31cbc66733386406464ec6c5c0889d9968a95
rxrpc: Use rxrpc_extract_addr_from_skb() rather than doing this manually

There are two places that want to transmit a packet in response to one just
received and manually pick the address to reply to out of the sk_buff.
Make them use rxrpc_extract_addr_from_skb() instead so that IPv6 is handled
automatically.

Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/local_event.c
net/rxrpc/output.c