Date: Sun, 31 May 2026 07:18:52 +0000 From: Michael Tuexen <tuexen@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Cc: Mike Belanger <mibelanger@qnx.com> Subject: git: aec9fc6dd211 - stable/14 - if_ffec: correctly trim 2 bytes from the beginning Message-ID: <6a1be0dc.201b8.3e5ce61a@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/14 has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=aec9fc6dd2111b6b196dc029afbfbab646c96501 commit aec9fc6dd2111b6b196dc029afbfbab646c96501 Author: Mike Belanger <mibelanger@qnx.com> AuthorDate: 2026-05-28 11:09:52 +0000 Commit: Michael Tuexen <tuexen@FreeBSD.org> CommitDate: 2026-05-31 05:17:37 +0000 if_ffec: correctly trim 2 bytes from the beginning PR: 283315 Tested by: tuexen (cherry picked from commit b29842622dcb9c9c9515fc04dc5826a8717537b1) --- sys/dev/ffec/if_ffec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/ffec/if_ffec.c b/sys/dev/ffec/if_ffec.c index 17fab283fc81..cf171a854406 100644 --- a/sys/dev/ffec/if_ffec.c +++ b/sys/dev/ffec/if_ffec.c @@ -850,7 +850,7 @@ ffec_rxfinish_onebuf(struct ffec_softc *sc, int len) * biggest header is, instead of the whole 1530ish-byte frame. */ if (sc->fecflags & FECFLAG_RACC) { - m->m_data = mtod(m, uint8_t *) + 2; + m_adj(m, 2); } else { src = mtod(m, uint8_t*); dst = src - ETHER_ALIGN;home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a1be0dc.201b8.3e5ce61a>
