|
|
@@ -1394,7 +1394,6 @@ bool batadv_dat_snoop_incoming_arp_reply(struct batadv_priv *bat_priv,
|
|
|
hw_src, &ip_src, hw_dst, &ip_dst,
|
|
|
dat_entry->mac_addr, &dat_entry->ip);
|
|
|
dropped = true;
|
|
|
- goto out;
|
|
|
}
|
|
|
|
|
|
/* Update our internal cache with both the IP addresses the node got
|
|
|
@@ -1403,6 +1402,9 @@ bool batadv_dat_snoop_incoming_arp_reply(struct batadv_priv *bat_priv,
|
|
|
batadv_dat_entry_add(bat_priv, ip_src, hw_src, vid);
|
|
|
batadv_dat_entry_add(bat_priv, ip_dst, hw_dst, vid);
|
|
|
|
|
|
+ if (dropped)
|
|
|
+ goto out;
|
|
|
+
|
|
|
/* If BLA is enabled, only forward ARP replies if we have claimed the
|
|
|
* source of the ARP reply or if no one else of the same backbone has
|
|
|
* already claimed that client. This prevents that different gateways
|