Eric Dumazet d1e559d0b1 inet: add IPv6 support to sk_ehashfn()
Intent is to converge IPv4 & IPv6 inet_hash functions to
factorize code.

IPv4 sockets initialize sk_rcv_saddr and sk_v6_daddr
in this patch, thanks to new sk_daddr_set() and sk_rcv_saddr_set()
helpers.

__inet6_hash can now use sk_ehashfn() instead of a private
inet6_sk_ehashfn() and will simply use __inet_hash() in a
following patch.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-03-18 22:00:34 -04:00
..
2015-03-04 00:23:23 -05:00
2015-03-12 14:39:40 -04:00
2015-01-31 17:48:18 -08:00
2015-03-12 14:39:40 -04:00
2015-01-28 22:18:37 -08:00
2015-02-20 15:04:03 -05:00
2015-03-17 22:02:29 -04:00
2015-02-28 16:56:51 -05:00
2015-01-28 22:18:37 -08:00
2015-01-28 22:18:37 -08:00
2015-01-28 22:18:37 -08:00