xfrm: respect ip protocols rules criteria when performing dst lookups
[ Upstream commit b8469721 ] The series in the "fixes" tag added the ability to consider L4 attributes in routing rules. The dst lookup on the outer packet of encapsulated traffic in the xfrm code was not adapted to this change, thus routing behavior that relies on L4 information is not respected. Pass the ip protocol information when performing dst lookups. Fixes: a25724b0 ("Merge branch 'fib_rules-support-sport-dport-and-proto-match'") Signed-off-by:Eyal Birger <eyal.birger@gmail.com> Tested-by:
Antony Antony <antony.antony@secunet.com> Signed-off-by:
Steffen Klassert <steffen.klassert@secunet.com> Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading