]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'fib-tables-fixes'
authorDavid S. Miller <davem@davemloft.net>
Wed, 16 Nov 2016 18:24:51 +0000 (13:24 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Nov 2016 18:24:51 +0000 (13:24 -0500)
commitb02075d59fc2ad9e3b4d5b2581670ed02aff0ffe
tree356e4a21747a35c5e3347cb7fc6bc75c9397d769
parent4eaf0048bc4c42d08a91735c2bd3167457004133
parent455e6349b2468d0f3462f68f430aa08eb4c746a8
Merge branch 'fib-tables-fixes'

Alexander Duyck says:

====================
ipv4: Fix memory leaks and reference issues in fib

This series fixes one major issue and one minor issue in the fib tables.

The major issue is that we had lost the functionality that was flushing the
local table entries from main after we had unmerged the two tries.  In
order to regain the functionality I have performed a partial revert and
then moved the functionality for flushing the external entries from main
into fib_unmerge.

The minor issue was a memory leak that could occur in the event that we
weren't able to add an alias to the local trie resulting in the fib alias
being leaked.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>