diff options
| author | Mike Belanger <mibelanger@qnx.com> | 2026-05-28 12:09:52 +0100 |
|---|---|---|
| committer | Michael Tuexen <tuexen@FreeBSD.org> | 2026-05-31 06:17:37 +0100 |
| commit | aec9fc6dd2111b6b196dc029afbfbab646c96501 (patch) (diff) | |
| tree | 03222a74de0ac3e63bd67f3b6ffc28a9df7aea90 | |
| download | src-stable/14.tar.gz | |
| previous commit | 7f421c7c9c1a28aadf4b3d3b10bf992570166174 (bsd.sys.mk: also suppress gcc -Wc++1[47]-extensions warnings for >= 12) | |
PR: 283315
Tested by: tuexen
(cherry picked from commit b29842622dcb9c9c9515fc04dc5826a8717537b1)
| -rw-r--r-- | sys/dev/ffec/if_ffec.c | [diff] [file] | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
