Subject: Re: [PATCH] resume oif rule match l3mdev in fib_lookup

From: Jakub Kicinski <[email-masked]>
Date: Sat, 12 Apr 2025 16:25:28 -0700

On Sat, 12 Apr 2025 21:19:10 +0800 hanhuihui wrote:
> flowi_oif will be reset if flowi_oif set to a l3mdev (e.g., VRF) device.
> This causes the oif rule to fail to match the l3mdev device in fib_lookup.
> Let's get back to previous behavior.
> 
> Fixes: 40867d74c374 ("net: Add l3mdev index to flow struct and avoid oif reset for port devices")
> Signed-off-by: hanhuihui [email-masked]

If you'd like to go ahead with this approach you need to at the very
least adjust the fib_rule_tests.sh selftest..