diff options
author | Marek Lindner <lindner_marek@yahoo.de> | 2011-02-18 07:33:19 -0500 |
---|---|---|
committer | Marek Lindner <lindner_marek@yahoo.de> | 2011-03-05 06:52:05 -0500 |
commit | 4389e47af856635eb17d03b2572a50576c12db24 (patch) | |
tree | 988fbbd883f5c8691d2bf100656e723e54073c0a /net/batman-adv/routing.c | |
parent | d0072609baebaffb522083d367f4f195187f60f8 (diff) |
batman-adv: rename global if_list to hardif_list
Batman-adv works with "hard interfaces" as well as "soft interfaces".
The new name should better make clear which kind of interfaces this
list stores.
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Diffstat (limited to 'net/batman-adv/routing.c')
-rw-r--r-- | net/batman-adv/routing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/routing.c b/net/batman-adv/routing.c index 3cfa2c74c94f..21e93b39b2a4 100644 --- a/net/batman-adv/routing.c +++ b/net/batman-adv/routing.c | |||
@@ -643,7 +643,7 @@ void receive_bat_packet(struct ethhdr *ethhdr, | |||
643 | has_directlink_flag); | 643 | has_directlink_flag); |
644 | 644 | ||
645 | rcu_read_lock(); | 645 | rcu_read_lock(); |
646 | list_for_each_entry_rcu(batman_if, &if_list, list) { | 646 | list_for_each_entry_rcu(batman_if, &hardif_list, list) { |
647 | if (batman_if->if_status != IF_ACTIVE) | 647 | if (batman_if->if_status != IF_ACTIVE) |
648 | continue; | 648 | continue; |
649 | 649 | ||