opnsense-src/sys/dev/sfxge
Franco Fichtner 0482974b2c sfxge: defer ether_ifattach to when ifmedia_init is done
Otherwise the ifmedia subsystem may call unguarded NULL function
pointers.  Same issue that was fixed for cxgb(4) in f2daf8995.

Also see:	https://github.com/opnsense/src/issues/228
MFC after:	1 week
2024-12-02 02:09:24 -07:00
..
common sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
sfxge.c sfxge: defer ether_ifattach to when ifmedia_init is done 2024-12-02 02:09:24 -07:00
sfxge.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
sfxge_dma.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
sfxge_ev.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
sfxge_intr.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
sfxge_ioc.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
sfxge_mcdi.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
sfxge_nvram.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
sfxge_port.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
sfxge_rx.c tcp: extend the use of the th_flags accessor function 2024-11-29 09:48:23 +01:00
sfxge_rx.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
sfxge_tx.c tcp: extend the use of the th_flags accessor function 2024-11-29 09:48:23 +01:00
sfxge_tx.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
sfxge_version.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00