diff options
author | David Howells <dhowells@redhat.com> | 2016-04-07 19:23:44 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-11 22:34:41 +0300 |
commit | 6dd050f88d702e2718bd856ea014487563207756 (patch) | |
tree | 75ef4a06ea9ef40f1d75dfbc4252f46218fc5364 /net/rxrpc/rxkad.c | |
parent | 843099cac0dbe421d7c3ea1f8662251fd7065731 (diff) | |
download | linux-6dd050f88d702e2718bd856ea014487563207756.tar.xz |
rxrpc: Don't assume transport address family and size when using it
Don't assume transport address family and size when using the peer address
to send a packet. Instead, use the start of the transport address rather
than any particular element of the union and use the transport address
length noted inside the sockaddr_rxrpc struct.
This will be necessary when IPv6 support is introduced.
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rxrpc/rxkad.c')
0 files changed, 0 insertions, 0 deletions