Date: Fri, 17 Oct 2025 01:20:42 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 290314] sys/dev/dc/if_dc.c net driver crashes when being configured Message-ID: <bug-290314-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
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: bugs@FreeBSD.org Reporter: chrisj@rtems.org 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.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-290314-227>
