]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
xfrm: policy: consider if_id when hashing inexact policy
authorFlorian Westphal <fw@strlen.de>
Wed, 7 Nov 2018 22:00:36 +0000 (23:00 +0100)
committerSteffen Klassert <steffen.klassert@secunet.com>
Fri, 9 Nov 2018 10:57:53 +0000 (11:57 +0100)
commitb5fe22e2337d47cd68bb7d8e4103a628808c4d5e
tree5541dc356dad5549a42c80826067fe82bff68ef4
parent24969facd704a5f0dd8e08da86bf32a9ce972bee
xfrm: policy: consider if_id when hashing inexact policy

This avoids searches of polices that cannot match in the first
place due to different interface id by placing them in different bins.

Signed-off-by: Florian Westphal <fw@strlen.de>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/xfrm/xfrm_policy.c