summaryrefslogtreecommitdiff
path: root/usr.sbin/popa3d/mailbox.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2003-04-01 23:42:25 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2003-04-01 23:42:25 +0000
commite6a4b8c7dfa4c88e9971d69bf703864aa6e36ba5 (patch)
treeba8b66a379799f133d39dd5e3ac4907b499ab997 /usr.sbin/popa3d/mailbox.c
parentaee070148823050109cf7d6b3c9e95c93370a406 (diff)
When using bpf(4) in immediate mode, and using kevent(2) to receive
notification of packet arrival, the usermode application isn't notified until a second packet arrives. This is because KNOTE() calls filt_bpfread() before bd_slen has been updated with the newly arrived packet length, so it looks like there is no data there. Moving the bpf_wakeup() call for immediate mode to after bd_slen is set fixes it. From: wayne@epipe.com.au in pr 3175
Diffstat (limited to 'usr.sbin/popa3d/mailbox.c')
0 files changed, 0 insertions, 0 deletions