HomeFreeBSD

sfxge: defer ether_ifattach to when ifmedia_init is done

Description

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

(cherry picked from commit 0482974b2c021a8abbc044d3e2b1240250f791e7)

Details

Provenance
franco_opnsense.orgAuthored on Nov 29 2024, 8:36 PM
Kevin Bowling <kbowling@FreeBSD.org>Committed on Mon, Dec 23, 10:00 PM
Parents
rG5c15d499c23a: Revert "ixl: fix multicast filters handling"
Branches
Unknown
Tags
Unknown