- The module preload happens before vnet0 creating, thus vnet_data_copy() will say empty vnet list.
- For modules loaded by kldload, vnet propagation will be done after registering sysctls, then previous propagation is not needed.
MFC after: 3 weeks
Differential D39852
kernel linkers: Eliminate unneeded vnet propagation zlei on Apr 27 2023, 3:44 PM. Authored by Tags None Referenced Files
Subscribers
Details
MFC after: 3 weeks Load modules that have sysctl knobs flagged with both CTLFLAG_TUN and CTLFLAG_VNET. # echo "net.link.bridge.log_stp=1" >> /boot/loader.conf # echo 'if_bridge_load="YES"' >> /boot/loader.conf # reboot # sysctl net.link.bridge.log_stp net.link.bridge.log_stp: 1 # kldunload if_bridge # kldload if_bridge # sysctl net.link.bridge.log_stp net.link.bridge.log_stp: 1
Diff Detail
Event Timeline |