summaryrefslogtreecommitdiffstats
path: root/net/ipv4/fib_lookup.h
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@redhat.com>2015-02-26 00:31:31 +0100
committerDavid S. Miller <davem@davemloft.net>2015-02-27 22:37:06 +0100
commit56315f9e6e3a0ba0483c2e1f53333d5275268cb1 (patch)
tree2fd33299033b341fc9b655a9f35b3e86dc09b09a /net/ipv4/fib_lookup.h
parentMerge branch 'ip_level_multicast_join_leave' (diff)
downloadlinux-56315f9e6e3a0ba0483c2e1f53333d5275268cb1.tar.xz
linux-56315f9e6e3a0ba0483c2e1f53333d5275268cb1.zip
fib_trie: Convert fib_alias to hlist from list
There isn't any advantage to having it as a list and by making it an hlist we make the fib_alias more compatible with the list_info in terms of the type of list used. 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')
-rw-r--r--net/ipv4/fib_lookup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/fib_lookup.h b/net/ipv4/fib_lookup.h
index 825981b1049a..3cd444f4e0f6 100644
--- a/net/ipv4/fib_lookup.h
+++ b/net/ipv4/fib_lookup.h
@@ -6,7 +6,7 @@
#include <net/ip_fib.h>
struct fib_alias {
- struct list_head fa_list;
+ struct hlist_node fa_list;
struct fib_info *fa_info;
u8 fa_tos;
u8 fa_type;