diff options
author | Alexander Duyck <alexander.h.duyck@redhat.com> | 2015-02-25 15:31:31 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-02-27 16:37:06 -0500 |
commit | 56315f9e6e3a0ba0483c2e1f53333d5275268cb1 (patch) | |
tree | 2fd33299033b341fc9b655a9f35b3e86dc09b09a /net/ipv4/fib_lookup.h | |
parent | 7705f730372d65f73599f0b49e3249433bba55e8 (diff) |
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.h | 2 |
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; |