HomeFreeBSD

modules: felix: Remove etherswitch_if.c from Makefile

Description

modules: felix: Remove etherswitch_if.c from Makefile

Having it included confuses KOBJOPLOOKUP resulting in kobj_error_method
being called instead of a devmethod from the switch driver.
That in turn returns ENXIO which was treated as a pointer and
dereferenced by etherswitch ioctl logic causing the kernel to panic.

Fixes: b542c9e42ba4 (modules: felix: Add needed dependencies)

Details

Provenance
kdAuthored on Sep 30 2021, 11:06 AM
wmaCommitted on Oct 1 2021, 9:24 AM
Parents
rG8cbbe3510536: arm64: std.nxp Add enetc NIC driver
Branches
Unknown
Tags
Unknown