Re: [net-next PATCH 1/2] fib_trie: Fix warning on fib4_rules_exit
From: David Miller <davem@davemloft.net>
Date: 2015-03-31 17:19:14
From: David Miller <davem@davemloft.net>
Date: 2015-03-31 17:19:14
From: Alexander Duyck <redacted> Date: Fri, 27 Mar 2015 14:14:16 -0700
This fixes the following warning:
...
The issue was that as a part of exiting the default rules were being
deleted which resulted in the local trie being unmerged. By moving the
freeing of the FIB tables up we can avoid the unmerge since there is no
local table left when we call the fib4_rules_exit function.
Fixes: 0ddcf43d5d4a ("ipv4: FIB Local/MAIN table collapse")
Reported-by: Cong Wang <redacted>
Signed-off-by: Alexander Duyck <redacted>Applied.