opnsense-src/sys/dev/cxgb
ScottD 843c1b5160 cxgb(4): Register ifmedia callbacks before ether_ifattach.
This prevents a panic that occurs if netlink tries to invoke the
driver's media callbacks during ifattach.

PR:		282374
Reported by:	ScottD <biscuits.carry.0j@icloud.com>

(cherry picked from commit f2daf89954a45c7eed22990dd4cf2cf879763dc0)
2024-10-30 18:09:06 -07:00
..
common sys: Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:17 -06:00
sys sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
bin2h.pl Two more $FreeBSD$ stragglers 2023-09-17 08:34:41 -06:00
cxgb_adapter.h sys: Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:17 -06:00
cxgb_include.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
cxgb_ioctl.h sys: Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:17 -06:00
cxgb_main.c cxgb(4): Register ifmedia callbacks before ether_ifattach. 2024-10-30 18:09:06 -07:00
cxgb_offload.h sys: Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:17 -06:00
cxgb_osdep.h sys: Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:17 -06:00
cxgb_sge.c cxgb(4): Stop checking for failures from malloc/buf_ring_alloc(M_WAITOK) 2024-09-30 12:44:20 +08:00
cxgb_t3fw.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
cxgb_t3fw.h sys: Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:17 -06:00
t3b_protocol_sram.h sys: Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:17 -06:00
t3b_tp_eeprom.h sys: Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:17 -06:00
t3c_protocol_sram.h sys: Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:17 -06:00
t3c_tp_eeprom.h sys: Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:17 -06:00