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
F171373285: D44307.diff
Thu, Sep 10, 6:31 PM
Unknown Object (File)
Mon, Sep 7, 5:12 PM
Unknown Object (File)
Sun, Sep 6, 1:50 PM
Unknown Object (File)
Sun, Sep 6, 12:36 AM
Unknown Object (File)
Sat, Sep 5, 1:48 PM
Unknown Object (File)
Thu, Sep 3, 5:54 PM
Unknown Object (File)
Thu, Sep 3, 3:25 PM
Unknown Object (File)
Thu, Sep 3, 1:57 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 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.