diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2014-09-22 23:40:47 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2014-09-22 23:40:47 +0000 |
commit | 6f4b010919ad9de3806fa56c0296c4fe1b5aca4c (patch) | |
tree | 71b2c81a23b57eac5dcc0365c855c1d6acf2ff28 /bin | |
parent | 036c179a06fa472a6b3e6a42ea33dafc63ee2554 (diff) |
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.
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions