tech-net archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
re: kern/47506
Hi,
It seems to me there is a race between tap_start() and tap_dev_poll().
The splx() call in tap_dev_poll() needs to be moved after the call to
selrecord().
However, I'm not entirely certain how that interacts with the spin
mutex that protects the selrecord() call.
The kqueue(2) code path seems fine.
Would someone less rusty than me care to comment?
--
Quentin Garnier - cube%cubidou.net@localhost
"See the look on my face from staying too long in one place
[...] every time the morning breaks I know I'm closer to falling"
KT Tunstall, Saving My Face, Drastic Fantastic, 2007.
Home |
Main Index |
Thread Index |
Old Index