OpenBSD cvs log

created 2021-03-17T17:19:30Z
begin 2021-03-09T20:03:50Z
end 2021-03-09T20:05:14Z
path src/sys
commits 1

date 2021-03-09T20:05:14Z
author anton
files src/sys/net/if_tun.c log diff annotate
message Issuing FIOSETOWN and TIOCSPGRP ioctl commands on a tun(4) device leaks
device references causing a hang while trying to remove the same
interface since the reference count will never reach zero. Instead of
returning, break out of the switch in order to ensure that tun_put()
gets called.

ok deraadt@ mvs@

Reported-by: [email protected]