[Bug 272416] Seldom crash happening with RTL8125

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 12 Dec 2023 04:43:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272416

Zhenlei Huang <zlei@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zlei@FreeBSD.org

--- Comment #8 from Zhenlei Huang <zlei@FreeBSD.org> ---
(In reply to Tino Engel from comment #7)
> 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

See /usr/src/sys/net/if_ethersubr.c:

```
void
ether_ifattach(struct ifnet *ifp, const u_int8_t *lla)
{
...
    ifp->if_input = ether_input;
...
}
```

-- 
You are receiving this mail because:
You are the assignee for the bug.