Module Name: src
Committed By: ozaki-r
Date: Mon Sep 9 07:25:32 UTC 2024
Modified Files:
src/sys/netinet: if_arp.c
Log Message:
arp: allow to send packets without an ARP resolution just after receiving an
ARP request
On receiving an ARP request, the current implemention creates an ARP
cache entry but with ND_LLINFO_NOSTATE. Such an entry still needs
an ARP resolution to send back a packet to the requester. The original
behavior before introducing the common ND framework didn't need the
resolution. IPv6 doesn't as well. To restore the original behavior,
make a new ARP cache entry with ND_LLINFO_STALE like IPv6 does.
To generate a diff of this commit:
cvs rdiff -u -r1.314 -r1.315 src/sys/netinet/if_arp.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.