freebsd-dev/sys/arm64/broadcom
Mike Karels 1de9aa4d4f genet: fix output packet corruption in uncommon case
The code for the "shift" block in the COPY macro set the pointer for
the next copy block to the wrong value.  In this case, the link-layer
header would be overwritten by the network-layer header.  This case is
difficult or impossible to exercise in the current driver without
changing the value of the hw.genet.tx_hdr_min sysctl.  Correct the
pointer.  While here, remove a line in the macro that was marked
"unneeded", which was actually wrong.

PR:		263824
Submitted by:	jiahali@blackberry.com
MFC after:	2 weeks
2022-05-09 08:46:06 -05:00
..
brcmmdio Add MDIO PHY driver for NS2 ARM64 platform. 2020-04-06 05:48:58 +00:00
genet genet: fix output packet corruption in uncommon case 2022-05-09 08:46:06 -05:00