diff options
author | Alexander Duyck <alexander.h.duyck@redhat.com> | 2015-02-26 02:31:37 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-02-28 00:37:06 +0300 |
commit | 5786ec60549961a575044e0fb81664da1f8bf225 (patch) | |
tree | aaf9c04c58817447cfdb405df2d3e0406cfa0c34 /lib/bug.c | |
parent | 56315f9e6e3a0ba0483c2e1f53333d5275268cb1 (diff) | |
download | linux-5786ec60549961a575044e0fb81664da1f8bf225.tar.xz |
fib_trie: Replace plen with slen in leaf_info
This replaces the prefix length variable in the leaf_info structure with a
suffix length value, or host identifier length in bits. By doing this it
makes it easier to sort out since the tnodes and leaf are carrying this
value as well since it is compatible with the ->pos field in tnodes.
I also cleaned up one spot that had some list manipulation that could be
simplified. I basically updated it so that we just use hlist_add_head_rcu
instead of calling hlist_add_before_rcu on the first node in the list.
Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/bug.c')
0 files changed, 0 insertions, 0 deletions