HomeFreeBSD

if_tuntap: simplify storage of per-vnet cloners

Description

if_tuntap: simplify storage of per-vnet cloners

There is no need for a separate structure neither for a linked list.
Provide each VNET with an array of pointers to if_clone that has the same
size as the driver list.

Reviewed by: zlei, kevans, kp
Differential Revision: https://reviews.freebsd.org/D44307

Details

Provenance
glebiusAuthored on Mar 29 2024, 7:35 PM
Reviewer
zlei
Differential Revision
D44307: if_tuntap: simplify storage of per-vnet cloners
Parents
rGbdc903460be4: kern_ctf.c: Don't print out warning messages unconditionally
Branches
Unknown
Tags
Unknown