CVSROOT:        /cvs
Module name:    src
Changes by:     d...@cvs.openbsd.org    2014/09/22 17:40:46

Modified files:
        sys/net        : bpf.c 

Log message:
stash a pointer to bpf_d in the knotes kn_hook instead of the device id.
we refcount the bpf_d memory correctly so it cant go away. possibly worse
is the bpf minor id could be reused between the kq calls, so this seems
safer to me. also avoids a list walk on each op cos the ptr is just there.

Reply via email to