Make sure closed bpf devices are removed from bpf_d_list to free the
authornatano <natano@openbsd.org>
Mon, 25 Jul 2016 13:19:32 +0000 (13:19 +0000)
committernatano <natano@openbsd.org>
Mon, 25 Jul 2016 13:19:32 +0000 (13:19 +0000)
commitf9d5788bac7b1e61457043e3d62c8756ff5fa6ea
treeb87ac732bed7b33df03491a60642a30cb9f5fa67
parent0b7734b3d77bb9b21afec6f4621cae6c805dbd45
Make sure closed bpf devices are removed from bpf_d_list to free the
minor number for reuse by the device cloning code. This fixes a panic
reported by bluhm@.

initial diff from tedu
ok deraadt
sys/net/bpf.c