diff options
author | Thomas Graf <tgraf@suug.ch> | 2007-03-27 13:56:52 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-25 22:28:18 -0700 |
commit | 73417f617a93cf30342c3ea41abc38927bd467aa (patch) | |
tree | 6093005afdca1825197758d851ca5f275d62356f /kernel/stop_machine.c | |
parent | be776281aee54626a474ba06f91926b98bdd180d (diff) |
[NET] fib_rules: Flush route cache after rule modifications
The results of FIB rules lookups are cached in the routing cache
except for IPv6 as no such cache exists. So far, it was the
responsibility of the user to flush the cache after modifying any
rules. This lead to many false bug reports due to misunderstanding
of this concept.
This patch automatically flushes the route cache after inserting
or deleting a rule.
Thanks to Muli Ben-Yehuda <muli@il.ibm.com> for catching a bug
in the previous patch.
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/stop_machine.c')
0 files changed, 0 insertions, 0 deletions