]> git.baikalelectronics.ru Git - kernel.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)
commit5d323d384173e33441251f1bc749d77e4b3f4b38
treee8892392aaf7e3d3544ede23c21791e2317b177d
parenta4f1e090045f0b6ffde57e6dea6543567b75c0ab
[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