summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/routing.c
diff options
context:
space:
mode:
authorMarek Lindner2011-02-18 13:33:19 +0100
committerMarek Lindner2011-03-05 12:52:05 +0100
commit4389e47af856635eb17d03b2572a50576c12db24 (patch)
tree988fbbd883f5c8691d2bf100656e723e54073c0a /net/batman-adv/routing.c
parentbatman-adv: remove orig_hash spinlock (diff)
downloadkernel-qcow2-linux-4389e47af856635eb17d03b2572a50576c12db24.tar.gz
kernel-qcow2-linux-4389e47af856635eb17d03b2572a50576c12db24.tar.xz
kernel-qcow2-linux-4389e47af856635eb17d03b2572a50576c12db24.zip
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.c2
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,
has_directlink_flag);
rcu_read_lock();
- list_for_each_entry_rcu(batman_if, &if_list, list) {
+ list_for_each_entry_rcu(batman_if, &hardif_list, list) {
if (batman_if->if_status != IF_ACTIVE)
continue;