From: Thomas Graf <tgraf@suug.ch>
Date: Tue, 19 Jun 2012 07:36:02 -0400
On Fri, Jun 15, 2012 at 03:32:40PM -0700, David Miller wrote:
quoted
Since you're snooping around in here, you might notice that on network
namespace shutdown, we leak all user configured ipv6 FIB rules.
I looked into this. fib_rules_unregister() will free all rules
belonging to the address family in that namespace.
Or were you referring to other rules?
Sorry, the leak I saw was for the fib6 tables, not the rules
themselves.
IPV4 has ip_fib_net_exit() which walks the FIB4 table hash
and releases everything.
I couldn't find the IPV6 counterpart. All I could find was code which
explicitly liberates the ipv6 main and local tables.
There is no ipv6 code I can find which traverses fib_table_hash and
liberates the dynamically generated tables.