HomeFreeBSD

lo: Use new KPI to assign the first loop interface

Description

lo: Use new KPI to assign the first loop interface

While here remove a pointless static local variable lo_cloner.

No functional change intended.

Reviewed by: kp
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D45728

(cherry picked from commit 2cb7605a2415a1c0dd35374a88f815ef00e31de9)

Details

Provenance
zleiAuthored on Jun 26 2024, 10:00 AM
Reviewer
kp
Differential Revision
D45728: lo: Use new KPI to create the first loop interface
Parents
rG3bae3e545e2e: ifnet: Restore curvnet earlier
Branches
Unknown
Tags
Unknown