Bug #170 » 666-make-DAT-drop-ARP-requests-targeting-loca.patch
distributed-arp-table.c | ||
---|---|---|
dat_entry = batadv_dat_entry_hash_find(bat_priv, ip_dst);
|
||
if (dat_entry) {
|
||
/* If the outgoing ARP request is targeting a local client, the
|
||
* packet can be silently dropped: an ARP reply will be sent by
|
||
* the client itself through the LAN
|
||
*/
|
||
if (batadv_is_my_client(bat_priv, dat_entry->mac_addr)) {
|
||
ret = true;
|
||
goto out;
|
||
}
|
||
skb_new = arp_create(ARPOP_REPLY, ETH_P_ARP, ip_src,
|
||
bat_priv->soft_iface, ip_dst, hw_src,
|
||
dat_entry->mac_addr, hw_src);
|
- « Previous
- 1
- …
- 4
- 5
- 6
- Next »