[Bug 272416] Seldom crash happening with RTL8125
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 11 Dec 2023 18:49:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272416
--- Comment #7 from Tino Engel <tino.engel@mail.de> ---
I had the same problem about a year ago - unfortunately I have forgotten what
workaround I used.
Anyhow when I look at the source of
/usr/ports/net/realtek-re-kmod/work/rtl_bsd_drv-d3a7a3d/if_re.c where the
problem seems to happen:
7103 #if OS_VER < VERSION(4,9)
7104 /* Remove header from mbuf and pass it on. */
7105 m_adj(m, sizeof(struct ether_header));
7106 ether_input(ifp, eh, m);
7107 #else
7108 (*ifp->if_input)(ifp, m);
7109 #endif
7110 RE_LOCK(sc);
From the crash dump stacks, it seems to end up in line 7106, which is between
#if OS_VER < VERSION(4,9)
and
#else
see also Comment #4:
#8 ether_input (ifp=<optimized out>, m=0xffff)
at /usr/src/sys/net/if_ethersubr.c:849
That seems wrong to me for FreeBSD 13. See if_rereg.h:
#define OS_VER __FreeBSD_version
--
You are receiving this mail because:
You are the assignee for the bug.