diff options
| author | Abdelkader Boudih <freebsd@seuros.com> | 2026-06-22 00:31:29 +0000 |
|---|---|---|
| committer | Adrian Chadd <adrian@FreeBSD.org> | 2026-06-22 00:31:34 +0000 |
| commit | 3ffd2baa268d298201d54c733dc0e635cc1dca9f (patch) | |
| tree | c27c21f30b815d6fc675d4d794ac373fc397cca8 | |
| parent | 51f4e90ce7ef3b8d036a9d34ab464f4152ca4bab (diff) | |
if_fwsubr: remove ARP target hardware address trimming
Per RFC 2734 section 5, the 1394 ARP packet is a fixed 32-octet structure
with no target hardware address field.
Reviewed by: adrian
Differential Revision: https://reviews.freebsd.org/D57617
| -rw-r--r-- | sys/net/if_fwsubr.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/net/if_fwsubr.c b/sys/net/if_fwsubr.c index ceac93d31d56..07a065653649 100644 --- a/sys/net/if_fwsubr.c +++ b/sys/net/if_fwsubr.c @@ -180,13 +180,6 @@ firewire_output(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *dst, ah->ar_hrd = htons(ARPHRD_IEEE1394); if (unicast) *destfw = *(struct fw_hwaddr *) ar_tha(ah); - - /* - * The standard arp code leaves a hole for the target - * hardware address which we need to close up. - */ - bcopy(ar_tpa(ah), ar_tha(ah), ah->ar_pln); - m_adj(m, -ah->ar_hln); break; } #endif |
