Page MenuHomeFreeBSD

if_tuntap: simplify storage of per-vnet cloners
ClosedPublic

Authored by glebius on Mar 11 2024, 6:26 PM.
Tags
None
Referenced Files
F85154143: D44307.id.diff
Sun, Jun 2, 6:53 AM
Unknown Object (File)
Thu, May 30, 9:42 PM
Unknown Object (File)
Thu, May 9, 11:00 PM
Unknown Object (File)
Mon, May 6, 7:11 AM
Unknown Object (File)
Apr 26 2024, 11:47 AM
Unknown Object (File)
Apr 26 2024, 4:05 AM
Unknown Object (File)
Apr 23 2024, 5:28 PM
Unknown Object (File)
Apr 7 2024, 2:12 PM
Subscribers

Details

Summary

There is no need to 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.

Diff Detail

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

Event Timeline

Nice, thanks. I think at one point I thought I might have something else worth adding to struct tuntap_driver_cloner, but if it hasn't happened in the intervening 5 years then I think it's safe to say that it's not going to happen.

This revision is now accepted and ready to land.Mar 12 2024, 5:31 AM
zlei added a subscriber: zlei.

Looks good to me.