All TUN creation on Linux is now moved inside tstun, with a new path to adopt pre-existing TUN interfaces while guarding against multi-queue TUNs with existing attached queues, and TUNs that pre-exist that are configured differently than we want.
Diagnostic output for the user is improved as the old lsof output is unlikely to provide good outputs on many systems.
Old interfaces or ones that are left over from a crash are reclaimed without removing their index, addresses, or routes. Retain the existing queue mode and report candidate queue holders when the interface is busy.
Updates tailscale/tailscale#22475
Signed-off-by: James Tucker <[email protected]>