Re: [PATCH net v3] ipv6:flush ipv6 route cache when rule is changed

From: Jiri Pirko
Date: Wed Feb 28 2024 - 10:50:59 EST


Wed, Feb 28, 2024 at 04:38:56PM CET, Lena.Wang@xxxxxxxxxxxx wrote:
>From: Shiming Cheng <shiming.cheng@xxxxxxxxxxxx>
>
>When rule policy is changed, ipv6 socket cache is not refreshed.
>The sock's skb still uses a outdated route cache and was sent to
>a wrong interface.
>
>To avoid this error we should update fib node's version when
>rule is changed. Then skb's route will be reroute checked as
>route cache version is already different with fib node version.
>The route cache is refreshed to match the latest rule.
>
>Signed-off-by: Shiming Cheng <shiming.cheng@xxxxxxxxxxxx>
>Signed-off-by: Lena Wang <lena.wang@xxxxxxxxxxxx>

1) You are still missing Fixes tags, I don't know what to say.
2) Re patch subject:
"ipv6:flush ipv6 route cache when rule is changed"
Could it be:
"ipv6: fib6_rules: flush route cache when rule is changed"
? please.
3) Could you please honor the 24h hours resubmission rule:
https://www.kernel.org/doc/html/v6.6/process/maintainer-netdev.html#tl-dr

pw-bot: cr