Skip to content
Commit 08ec9af1 authored by David S. Miller's avatar David S. Miller
Browse files

xfrm: Fix xfrm_state_find() wrt. wildcard source address.



The change to make xfrm_state objects hash on source address
broke the case where such source addresses are wildcarded.

Fix this by doing a two phase lookup, first with fully specified
source address, next using saddr wildcarded.

Reported-by: default avatarNicolas Dichtel <nicolas.dichtel@dev.6wind.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9616a755
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment