ipv4: split inet_ehashfn to hash functions per compilation unit
authorHannes Frederic Sowa <hannes@stressinduktion.org>
Sat, 19 Oct 2013 19:48:51 +0000 (21:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 Oct 2013 23:45:34 +0000 (19:45 -0400)
commit65cd8033ff375b68037df61603ee68070dc48578
tree26b34f9ed023dda5a861001118a1ea1227ae252f
parent53481da372851a5506deb5247302f75459b472b4
ipv4: split inet_ehashfn to hash functions per compilation unit

This duplicates a bit of code but let's us easily introduce
separate secret keys later. The separate compilation units are
ipv4/inet_hashtabbles.o, ipv4/udp.o and rds/connection.o.

Cc: Eric Dumazet <edumazet@google.com>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/inet_sock.h
net/ipv4/inet_hashtables.c
net/ipv4/udp.c
net/rds/connection.c