]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3336a5542b65661a9ef3316061cc8fb3eb23e7fd
tree13aff60eedcd644be5bec2bb0190ba4ccca3141e
parentaeff7364eaf8a66499c11fe1ddee81c4cd873144
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