]> 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)
commit745e5a062d9d1b30437f37fb8aa8c67048f32f51
tree13aff60eedcd644be5bec2bb0190ba4ccca3141e
parent370f3f5884b968bd1ea45f472150ce80116e0d25
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