diff options
Diffstat (limited to 'net/batman-adv/soft-interface.c')
-rw-r--r-- | net/batman-adv/soft-interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/soft-interface.c b/net/batman-adv/soft-interface.c index c30ccd66786a..bea2dcf6bef5 100644 --- a/net/batman-adv/soft-interface.c +++ b/net/batman-adv/soft-interface.c | |||
@@ -132,7 +132,7 @@ static struct softif_neigh *softif_neigh_get(struct bat_priv *bat_priv, | |||
132 | rcu_read_lock(); | 132 | rcu_read_lock(); |
133 | hlist_for_each_entry_rcu(softif_neigh, node, | 133 | hlist_for_each_entry_rcu(softif_neigh, node, |
134 | &bat_priv->softif_neigh_list, list) { | 134 | &bat_priv->softif_neigh_list, list) { |
135 | if (memcmp(softif_neigh->addr, addr, ETH_ALEN) != 0) | 135 | if (!compare_eth(softif_neigh->addr, addr)) |
136 | continue; | 136 | continue; |
137 | 137 | ||
138 | if (softif_neigh->vid != vid) | 138 | if (softif_neigh->vid != vid) |