CVSROOT: /cvs Module name: src Changes by: d...@cvs.openbsd.org 2021/04/22 21:43:19
Modified files: sys/net : bpf.c Log message: call klist_invalidate from bpfsdetach to tell kq listeners what happened. without this, something using a kevent to monitor a bpf fd on an idle interface never has the event fire, which means it never realises the interface goes away. with this, the read event goes off and the next read fails with EIO, like pretty much every other driver when the underlying device is removed. ok claudio@ visa@ jmatthew@