Page MenuHomeFreeBSD

kern: net: allow an if_clone_destroyif() without knowing the cloner
Needs ReviewPublic

Authored by kevans on Mar 3 2024, 8:20 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 3, 7:12 PM
Unknown Object (File)
Fri, May 3, 6:46 PM
Unknown Object (File)
Wed, May 1, 9:17 AM
Unknown Object (File)
Sun, Apr 28, 4:49 AM
Unknown Object (File)
Fri, Apr 26, 3:54 AM
Unknown Object (File)
Wed, Apr 24, 6:58 AM
Unknown Object (File)
Apr 7 2024, 7:22 AM
Unknown Object (File)
Apr 6 2024, 3:58 PM

Details

Reviewers
kp
melifaro
Group Reviewers
network
Summary

Knowing which cloner an interface came from isn't always easy,
especially if a driver has multiple cloner candidates and we need to
find the right cloner for the correct driver in the home vnet. We have
the information needed, but it's a lot cleaner to just let the clone
infrastructure handle it.

This will be used in a future patch to allow tun(4)/tap(4) devices to
be configured as transient and automatically destroyed on last close of
the device.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 56419
Build 53307: arc lint + arc unit