diff options
author | Alexander Duyck <alexander.h.duyck@redhat.com> | 2015-01-23 00:51:45 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-25 23:47:16 +0100 |
commit | 64c6272351a0eca55574f487b103770163d1dbce (patch) | |
tree | dfc0d00aca3954d7886411ac5858ce667c88923f /net/ipv6 | |
parent | fib_trie: Move fib_find_alias to file where it is used (diff) | |
download | linux-64c6272351a0eca55574f487b103770163d1dbce.tar.xz linux-64c6272351a0eca55574f487b103770163d1dbce.zip |
fib_trie: Various clean-ups for handling slen
While doing further work on the fib_trie I noted a few items.
First I was using calls that were far more complicated than they needed to
be for determining when to push/pull the suffix length. I have updated the
code to reflect the simplier logic.
The second issue is that I realised we weren't necessarily handling the
case of a leaf_info struct surviving a flush. I have updated the logic so
that now we will call pull_suffix in the event of having a leaf info value
left in the leaf after flushing it.
Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
0 files changed, 0 insertions, 0 deletions