linux-stable/net
Hannes Frederic Sowa 1bbdceef1e inet: convert inet_ehash_secret and ipv6_hash_secret to net_get_random_once
Initialize the ehash and ipv6_hash_secrets with net_get_random_once.

Each compilation unit gets its own secret now:
  ipv4/inet_hashtables.o
  ipv4/udp.o
  ipv6/inet6_hashtables.o
  ipv6/udp.o
  rds/connection.o

The functions still get inlined into the hashing functions. In the fast
path we have at most two (needed in ipv6) if (unlikely(...)).

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>
2013-10-19 19:45:35 -04:00
..
9p
802
8021q net: 8021q/bluetooth/bridge/can/ceph: Remove extern from function prototypes 2013-10-19 19:12:11 -04:00
appletalk
atm
ax25 ax25: cleanup a range test 2013-10-18 13:56:07 -04:00
batman-adv
bluetooth net: 8021q/bluetooth/bridge/can/ceph: Remove extern from function prototypes 2013-10-19 19:12:11 -04:00
bridge net: 8021q/bluetooth/bridge/can/ceph: Remove extern from function prototypes 2013-10-19 19:12:11 -04:00
caif
can net: 8021q/bluetooth/bridge/can/ceph: Remove extern from function prototypes 2013-10-19 19:12:11 -04:00
ceph net: 8021q/bluetooth/bridge/can/ceph: Remove extern from function prototypes 2013-10-19 19:12:11 -04:00
core net: introduce new macro net_get_random_once 2013-10-19 19:45:35 -04:00
dcb
dccp net: dccp: Remove extern from function prototypes 2013-10-19 19:12:11 -04:00
decnet
dns_resolver
dsa
ethernet
ieee802154
ipv4 inet: convert inet_ehash_secret and ipv6_hash_secret to net_get_random_once 2013-10-19 19:45:35 -04:00
ipv6 inet: convert inet_ehash_secret and ipv6_hash_secret to net_get_random_once 2013-10-19 19:45:35 -04:00
ipx
irda net: misc: Remove extern from function prototypes 2013-10-19 19:12:11 -04:00
iucv
key
l2tp net: misc: Remove extern from function prototypes 2013-10-19 19:12:11 -04:00
lapb
llc
mac80211 net: misc: Remove extern from function prototypes 2013-10-19 19:12:11 -04:00
mac802154
mpls ipip: add GSO/TSO support 2013-10-19 19:36:19 -04:00
netfilter net: misc: Remove extern from function prototypes 2013-10-19 19:12:11 -04:00
netlabel
netlink
netrom
nfc
openvswitch
packet
phonet
rds inet: convert inet_ehash_secret and ipv6_hash_secret to net_get_random_once 2013-10-19 19:45:35 -04:00
rfkill
rose
rxrpc net: misc: Remove extern from function prototypes 2013-10-19 19:12:11 -04:00
sched em_ipset: use dev_net() accessor 2013-10-18 16:23:06 -04:00
sctp
sunrpc
tipc net: misc: Remove extern from function prototypes 2013-10-19 19:12:11 -04:00
unix
vmw_vsock
wimax net: misc: Remove extern from function prototypes 2013-10-19 19:12:11 -04:00
wireless net: misc: Remove extern from function prototypes 2013-10-19 19:12:11 -04:00
x25
xfrm net: misc: Remove extern from function prototypes 2013-10-19 19:12:11 -04:00
compat.c
Kconfig
Makefile
nonet.c
socket.c
sysctl_net.c