https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290314
Bug ID: 290314
Summary: sys/dev/dc/if_dc.c net driver crashes when being
configured
Product: Base System
Version: CURRENT
Hardware: powerpc
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: kern
Assignee: [email protected]
Reporter: [email protected]
The change
https://github.com/freebsd/freebsd-src/commit/51e80820552e075634c076d989cda90beb8169ac
updates the DC driver to use the if_foreach_llmaddr() KPI and introduced a bug
the file sys/dev/dc/if_dc.c
The line:
if_foreach_llmaddr(ifp, dc_hash_maddr_21143, sp);
in dc_setfilt_21143() passes `sp` however the the handler function above
(dc_hash_maddr_21143()) expect `sc`. Changing sp to sc lets the driver run.
Notes:
1. We are seeing the crash on RTEMS running on the 14-stable branch.
2. The hardware is a PowerPC MVME2700 board (yes these are in wide use in the
EPICS community running RTEMS).
3. The active device on this board is the original rev 1 device with an unknown
PHY.
4. The issue is also present on CURRENT
--
You are receiving this mail because:
You are the assignee for the bug.