diff options
author | Jussi Mäki <joamaki@gmail.com> | 2009-08-06 23:38:14 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-10 06:45:31 +0200 |
commit | b79a79471bd31d737c939a6ddc347417047b4320 (patch) | |
tree | c208fa8937da25184215504c063e032822ea2d3e /net/can/raw.c | |
parent | atlx: strncpy does not null terminate string (diff) | |
download | linux-b79a79471bd31d737c939a6ddc347417047b4320.tar.xz linux-b79a79471bd31d737c939a6ddc347417047b4320.zip |
Fix xfrm hash collisions by changing __xfrm4_daddr_saddr_hash to hash addresses with addition
This patch fixes hash collisions in cases where number
of entries have incrementing IP source and destination addresses
from single respective subnets (i.e. 192.168.0.1-172.16.0.1,
192.168.0.2-172.16.0.2, and so on.).
Signed-off-by: Jussi Maki <joamaki@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/can/raw.c')
0 files changed, 0 insertions, 0 deletions