Relax the restriction on routines from the config (#1531)

This commit is contained in:
Nate Brown
2025-11-19 14:10:11 -05:00
committed by GitHub
parent 297767b2e3
commit 7aff313a17
20 changed files with 80 additions and 0 deletions

View File

@@ -216,6 +216,10 @@ func (t *tun) reload(c *config.C, initial bool) error {
return nil
}
func (t *tun) SupportsMultiqueue() bool {
return true
}
func (t *tun) NewMultiQueueReader() (io.ReadWriteCloser, error) {
fd, err := unix.Open("/dev/net/tun", os.O_RDWR, 0)
if err != nil {