]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[INET]: Use jhash + random secret for ehash.
authorDavid S. Miller <davem@davemloft.net>
Fri, 23 Mar 2007 18:40:27 +0000 (11:40 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:28:06 +0000 (22:28 -0700)
commitb3da2cf37c5c6e47698957a25ab43a7223dbb90f
treee8892392aaf7e3d3544ede23c21791e2317b177d
parentd30045a0bcf144753869175dd9d840f7ceaf4aba
[INET]: Use jhash + random secret for ehash.

The days are gone when this was not an issue, there are folks out
there with huge bot networks that can be used to attack the
established hash tables on remote systems.

So just like the routing cache and connection tracking
hash, use Jenkins hash with random secret input.

Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/inet6_hashtables.h
include/net/inet_sock.h
net/ipv4/af_inet.c
net/ipv6/af_inet6.c