git: fa68eef7e77e - stable/15 - if_fwsubr: remove ARP target hardware address trimming

From: Adrian Chadd <adrian_at_FreeBSD.org>
Date: Wed, 28 Oct 2026 15:07:42 UTC
The branch stable/15 has been updated by adrian:

URL: https://cgit.FreeBSD.org/src/commit/?id=fa68eef7e77e0962c311bb4e28e4134d1392814a

commit fa68eef7e77e0962c311bb4e28e4134d1392814a
Author:     Abdelkader Boudih <freebsd@seuros.com>
AuthorDate: 2026-06-22 00:31:29 +0000
Commit:     Adrian Chadd <adrian@FreeBSD.org>
CommitDate: 2026-10-28 15:07:21 +0000

    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
    
    (cherry picked from commit 3ffd2baa268d298201d54c733dc0e635cc1dca9f)
---
 sys/net/if_fwsubr.c | 7 -------
 1 file changed, 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