Re: don't try and wakeup select/poll/kq in tun/bpf close

2022-01-15 Thread David Gwynne
On Sun, Jan 16, 2022 at 06:17:16AM +, Visa Hankala wrote: > On Sun, Jan 16, 2022 at 02:41:46PM +1000, David Gwynne wrote: > > if you're in bpfclose or tun/tap close, you're the last one out. this > > means that there shouldn't be anything else in poll/select/kevent/etc > > because you're the

Re: don't try and wakeup select/poll/kq in tun/bpf close

2022-01-15 Thread Visa Hankala
On Sun, Jan 16, 2022 at 02:41:46PM +1000, David Gwynne wrote: > if you're in bpfclose or tun/tap close, you're the last one out. this > means that there shouldn't be anything else in poll/select/kevent/etc > because you're the last one out. > > from what i can tell, tun and bpf are the only

don't try and wakeup select/poll/kq in tun/bpf close

2022-01-15 Thread David Gwynne
if you're in bpfclose or tun/tap close, you're the last one out. this means that there shouldn't be anything else in poll/select/kevent/etc because you're the last one out. from what i can tell, tun and bpf are the only drivers that do this, and i dont think they need to. ok? Index: bpf.c