]> 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)
commit8aed1188e8460714353aaa40803fabdae3fae03e
treef0be7662a6eaadbf8a0c7ba232df1557bec8ddf4
parent94287fa49f4e237ed1341941c8d4eb200898b7c6
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