diff options
author | Alexander Duyck <alexander.h.duyck@redhat.com> | 2015-02-25 15:31:37 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-02-27 16:37:06 -0500 |
commit | 5786ec60549961a575044e0fb81664da1f8bf225 (patch) | |
tree | aaf9c04c58817447cfdb405df2d3e0406cfa0c34 /fs | |
parent | 56315f9e6e3a0ba0483c2e1f53333d5275268cb1 (diff) | |
download | linux-5786ec60549961a575044e0fb81664da1f8bf225.tar.gz linux-5786ec60549961a575044e0fb81664da1f8bf225.tar.bz2 linux-5786ec60549961a575044e0fb81664da1f8bf225.zip |
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 'fs')
0 files changed, 0 insertions, 0 deletions