Some USB network interfaces like rum(4) report ENXIO from their
authorbluhm <bluhm@openbsd.org>
Fri, 13 Jul 2018 08:51:15 +0000 (08:51 +0000)
committerbluhm <bluhm@openbsd.org>
Fri, 13 Jul 2018 08:51:15 +0000 (08:51 +0000)
commit273c5eebb1898b077ab2647196c09b22ebfed46e
treeb0cd545956d0670494bcb71be4da611bedd033cb
parentb98600ca1bf077bb4c6415686e0a5754fd8e9d39
Some USB network interfaces like rum(4) report ENXIO from their
ioctl function after the device has been pulled out.  Also accept
this error code in bpf_detachd() to prevent a kernel panic.  tcpdump(8)
may run while the interface is detached.
from Moritz Buhl; OK stsp@
sys/net/bpf.c