aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/send.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/batman-adv/send.c')
-rw-r--r--net/batman-adv/send.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/batman-adv/send.c b/net/batman-adv/send.c
index f0232ad77222..c4f3e4988b63 100644
--- a/net/batman-adv/send.c
+++ b/net/batman-adv/send.c
@@ -204,7 +204,7 @@ static void send_packet(struct forw_packet *forw_packet)
204 204
205 /* broadcast on every interface */ 205 /* broadcast on every interface */
206 rcu_read_lock(); 206 rcu_read_lock();
207 list_for_each_entry_rcu(batman_if, &if_list, list) { 207 list_for_each_entry_rcu(batman_if, &hardif_list, list) {
208 if (batman_if->soft_iface != soft_iface) 208 if (batman_if->soft_iface != soft_iface)
209 continue; 209 continue;
210 210
@@ -461,7 +461,7 @@ static void send_outstanding_bcast_packet(struct work_struct *work)
461 461
462 /* rebroadcast packet */ 462 /* rebroadcast packet */
463 rcu_read_lock(); 463 rcu_read_lock();
464 list_for_each_entry_rcu(batman_if, &if_list, list) { 464 list_for_each_entry_rcu(batman_if, &hardif_list, list) {
465 if (batman_if->soft_iface != soft_iface) 465 if (batman_if->soft_iface != soft_iface)
466 continue; 466 continue;
467 467