]> git.baikalelectronics.ru Git - kernel.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)
commit87a03de465047c6b5d324494bc6a206fb475f0b5
tree164465f16a896a40c04ed8398498809bb7d1e918
parent2d709898971f39ec951eb4ffcea8ae710748c02b
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