Skip to content
Commit b79a7947 authored by Jussi Mäki's avatar Jussi Mäki Committed by David S. Miller
Browse files

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: default avatarJussi Maki <joamaki@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 082ba88a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment