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
Unknown Object (File)
Oct 18 2024, 6:19 AM
Unknown Object (File)
Oct 18 2024, 3:04 AM
Unknown Object (File)
Oct 3 2024, 9:30 AM
Unknown Object (File)
Oct 2 2024, 5:41 AM
Unknown Object (File)
Oct 1 2024, 11:00 AM
Unknown Object (File)
Sep 19 2024, 5:08 AM
Unknown Object (File)
Sep 18 2024, 4:28 PM
Unknown Object (File)
Sep 6 2024, 12:25 AM
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 Not Applicable
Unit
Tests Not Applicable

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.