diff options
author | Shiming Cheng <[email protected]> | 2024-03-07 18:01:57 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2024-03-08 10:10:35 +0000 |
commit | c4386ab4f6c600f75fdfd21143f89bac3e625d0d (patch) | |
tree | 526ca2f2c617686b4888783541a0e8800e901c9f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e3fb8e8ba72b053d05ca2602acdd6b869f9f296f (diff) |
ipv6: fib6_rules: flush route cache when rule is changed
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.
Fixes: 101367c2f8c4 ("[IPV6]: Policy Routing Rules")
Signed-off-by: Shiming Cheng <[email protected]>
Signed-off-by: Lena Wang <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions