net: introduce sk_ehashfn() helper
authorEric Dumazet <edumazet@google.com>
Wed, 18 Mar 2015 21:05:34 +0000 (14:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Mar 2015 02:00:34 +0000 (22:00 -0400)
commit5b441f76f1b83591e8cd9d60ba1df3a2aacde27f
tree13aff60eedcd644be5bec2bb0190ba4ccca3141e
parent6eada0110c8984477f5f1e57a0b7f7b2fc841e30
net: introduce sk_ehashfn() helper

Goal is to unify IPv4/IPv6 inet_hash handling, and use common helpers
for all kind of sockets (full sockets, timewait and request sockets)

inet_sk_ehashfn() becomes sk_ehashfn() but still only copes with IPv4

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/inet_hashtables.h
net/ipv4/inet_hashtables.c