]> 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)
commit79a3478acaa4d23a048f28b8fbc029ace0899dcc
tree356e4a21747a35c5e3347cb7fc6bc75c9397d769
parent02573d428946809a70d7933a471d8352292b3ecf
parente1a597e5d8866ebbf36439369de453c67798ba59
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>