HomeFreeBSD

emulators/virtualbox-ose-kmod-legacy: Fix hang at module loading time

Description

emulators/virtualbox-ose-kmod-legacy: Fix hang at module loading time

After src commit e266a0f7f001 a module is not allowed to call
kern_kldload while being loaded. The virtualbox module is doing
exactly this though. virutalbox used to do this because the ng_ether
netgraph node did not provide version information in the past and
there was no way to properly depend on it.

ng_ether has gained versioning information in base r238844 more
than ten years ago, so we can now unconditionally properly depend
on it, since this revision is now included in all supported FreeBSD
versions.

Thanks to Tomoaki AOKI for identifying the base commuit exposing
the issue.

Backport fix to legacy port.

WHile here also merge a double patch for the smae file.

PR: 256505
MFH: 2021Q2
(cherry picked from commit 354344ce8af17e5b6d85109120af5c6584ae642c)

Details

Provenance
madpilotAuthored on Jun 14 2021, 7:59 PM
Parents
R11:9fc40713734c: mail/postfix: Update to 3.6.1
Branches
Unknown
Tags
Unknown