Exit on SIOCGIFMEDIA/SIOCGIFXMEDIA if ifm_status is unpopulated.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277849
Differential D47314
net/if_media.c: avoid if_bge attach panic on Supermicro H13SSL-N mm on Oct 28 2024, 4:25 PM. Authored by Tags None Referenced Files
Details Exit on SIOCGIFMEDIA/SIOCGIFXMEDIA if ifm_status is unpopulated. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277849
Diff Detail
Event TimelineComment Actions This is indeed a workaround, I remember fixing something similar for ports' variant of if_re. The fix was to move the ether_ifattach() after the media structures are initialized, I did not looked at the bge code to confirm that it is the case. Comment Actions I checked the source code of if_gbe, it appears that the media structures are initialized correctly. |