summaryrefslogtreecommitdiff
path: root/usr.bin/rdist/gram.y
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2019-05-01 06:22:40 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2019-05-01 06:22:40 +0000
commit439b645d179139c8d6280b50b444e523dc454eb0 (patch)
tree722b6f7b015c2bf477dd75b12abaa191bb46c375 /usr.bin/rdist/gram.y
parent04a31e5424c73b06d2df33edcb0a32b8853ba888 (diff)
sprinkle some KERNEL_ASSERT_LOCKED()
operations that tweak the kq_head and kq_count need to be serialised against the kevent syscall which also fumbles with the list and count too. these asserts would have made it extremely obvious where the tun(4) bug was. for half the time of the bug report about it we werent even sure it was tun(4) discussed with mpi@ jmatthew@
Diffstat (limited to 'usr.bin/rdist/gram.y')
0 files changed, 0 insertions, 0 deletions