Date: Mon, 11 Dec 2023 18:49:19 +0000 From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 272416] Seldom crash happening with RTL8125 Message-ID: <bug-272416-7501-MFeHx5qOT9@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-272416-7501@https.bugs.freebsd.org/bugzilla/> References: <bug-272416-7501@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272416 --- Comment #7 from Tino Engel <tino.engel@mail.de> --- I had the same problem about a year ago - unfortunately I have forgotten wh= at 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 betwe= en=20 #if OS_VER < VERSION(4,9) and #else see also Comment #4: #8 ether_input (ifp=3D<optimized out>, m=3D0xffff) 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 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272416-7501-MFeHx5qOT9>