[Bug 277435] [Feature request] Add an option to destroy the tap/tun interface when the descriptor is closed
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 03 Mar 2024 22:59:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277435
--- Comment #9 from Nikolay Borodin <monsterovich@gmail.com> ---
(In reply to Kyle Evans from comment #8)
After this option is set, the system hangs when the application is closed.
i = 1;
if (ioctl(fd, TAPSTRANSIENT, &i) < 0) {
printf("error: ioctl(TAPSTRANSIENT)\n"); // hangs
return 1;
}
with a 100% CPU load:
> 1503846 monster+ 20 0 3583480 610420 494700 S 100,0 1,9 1:21.39 VirtualBoxVM
--
You are receiving this mail because:
You are the assignee for the bug.