aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/fib_lookup.h
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@redhat.com>2015-02-25 15:31:37 -0800
committerDavid S. Miller <davem@davemloft.net>2015-02-27 16:37:06 -0500
commit5786ec60549961a575044e0fb81664da1f8bf225 (patch)
treeaaf9c04c58817447cfdb405df2d3e0406cfa0c34 /net/ipv4/fib_lookup.h
parentfib_trie: Convert fib_alias to hlist from list (diff)
downloadlinux-dev-5786ec60549961a575044e0fb81664da1f8bf225.tar.xz
linux-dev-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 'net/ipv4/fib_lookup.h')
0 files changed, 0 insertions, 0 deletions