commit | ff181ed8768fa57fbda40fa97914f27fe275129b | [log] [tgz] |
---|---|---|
author | Alexander Duyck <alexander.h.duyck@redhat.com> | Wed Dec 31 10:56:43 2014 -0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Dec 31 18:25:55 2014 -0500 |
tree | 69ee07a7d4bcd3a9f88fb5be050413713777409a | |
parent | f05a48198bf742efd9d36553c51e98a648dbe807 [diff] |
fib_trie: Push assignment of child to parent down into inflate/halve This change makes it so that the assignment of the tnode to the parent is handled directly within whatever function is currently handling the node be it inflate, halve, or resize. By doing this we can avoid some of the need to set NULL pointers in the tree while we are resizing the subnodes. Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>