aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/routing.c
diff options
context:
space:
mode:
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 07f23ba31ad4..90ae6f0c30f3 100644
--- a/net/batman-adv/routing.c
+++ b/net/batman-adv/routing.c
@@ -661,7 +661,7 @@ void receive_bat_packet(const struct ethhdr *ethhdr,
661 hard_iface->net_dev->dev_addr)) 661 hard_iface->net_dev->dev_addr))
662 is_my_oldorig = 1; 662 is_my_oldorig = 1;
663 663
664 if (compare_eth(ethhdr->h_source, broadcast_addr)) 664 if (is_broadcast_ether_addr(ethhdr->h_source))
665 is_broadcast = 1; 665 is_broadcast = 1;
666 } 666 }
667 rcu_read_unlock(); 667 rcu_read_unlock();