fib_trie: Convert fib_alias to hlist from list
authorAlexander Duyck <alexander.h.duyck@redhat.com>
Wed, 25 Feb 2015 23:31:31 +0000 (15:31 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Feb 2015 21:37:06 +0000 (16:37 -0500)
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>
include/net/ip_fib.h
net/ipv4/fib_lookup.h
net/ipv4/fib_semantics.c
net/ipv4/fib_trie.c

index 5bd120e..cba4b7c 100644 (file)
@@ -136,7 +136,7 @@ struct fib_result {
        u32             tclassid;
        struct fib_info *fi;
        struct fib_table *table;
-       struct list_head *fa_head;
+       struct hlist_head *fa_head;
 };
 
 struct fib_result_nl {
Simple merge
Simple merge
Simple merge