]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdc1436626dd09d5d9d70c0dc4a37f4d6e157c34b
treef0be7662a6eaadbf8a0c7ba232df1557bec8ddf4
parent3dff26f59ad001284b419215e5e88bda265f99c0
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