summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/types.h
diff options
context:
space:
mode:
authorMarek Lindner <lindner_marek@yahoo.de>2010-12-12 21:57:11 +0000
committerMarek Lindner <lindner_marek@yahoo.de>2011-03-05 12:49:53 +0100
commit9591a79f280ede740e44aeb8ad93a6692d482dce (patch)
tree4472796690f19a55f56a1974537a120965978903 /net/batman-adv/types.h
parenta8e7f4bc38c4a90ee308cd7f1f8604f71db59d05 (diff)
downloadblackbird-op-linux-9591a79f280ede740e44aeb8ad93a6692d482dce.tar.gz
blackbird-op-linux-9591a79f280ede740e44aeb8ad93a6692d482dce.zip
batman-adv: convert neighbor list to hlist
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Diffstat (limited to 'net/batman-adv/types.h')
-rw-r--r--net/batman-adv/types.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/batman-adv/types.h b/net/batman-adv/types.h
index f9217d5dad8e..779c5c30bd04 100644
--- a/net/batman-adv/types.h
+++ b/net/batman-adv/types.h
@@ -83,7 +83,7 @@ struct orig_node {
uint8_t last_ttl;
unsigned long bcast_bits[NUM_WORDS];
uint32_t last_bcast_seqno;
- struct list_head neigh_list;
+ struct hlist_head neigh_list;
struct list_head frag_list;
unsigned long last_frag_packet;
struct {
@@ -105,7 +105,7 @@ struct gw_node {
* @last_valid: when last packet via this neighbor was received
*/
struct neigh_node {
- struct list_head list;
+ struct hlist_node list;
uint8_t addr[ETH_ALEN];
uint8_t real_packet_count;
uint8_t tq_recv[TQ_GLOBAL_WINDOW_SIZE];
OpenPOWER on IntegriCloud