Re: [RESEND] [NET] fib_rules: Flush route cache after rule modifications
From: David Miller <davem@davemloft.net>
Date: 2007-03-27 20:57:08
From: David Miller <davem@davemloft.net>
Date: 2007-03-27 20:57:08
From: Thomas Graf <tgraf@suug.ch> Date: Tue, 27 Mar 2007 15:38:45 +0200
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 [off-list ref] for catching a bug in the previous patch. Signed-off-by: Thomas Graf <tgraf@suug.ch>
Applied, thanks.