]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
IPV4: route use jhash3
authorStephen Hemminger <shemminger@vyatta.com>
Thu, 10 Apr 2008 08:54:01 +0000 (01:54 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Apr 2008 08:54:01 +0000 (01:54 -0700)
commit1294fc4a4868d7e83ff749597fbf4e9d5f4d1aa0
tree164465f16a896a40c04ed8398498809bb7d1e918
parent5969f71d57928511b9cd8744aaf1ed9bc5e88ea2
IPV4: route use jhash3

Since route hash is a triple, use jhash_3words rather doing the mixing
directly. This should be as fast and give better distribution.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/route.c