opnsense-src/sys/compat/linuxkpi
Hans Petter Selasky 627ac5b4e3 Don't call selrecord() outside the select system call in the LinuxKPI, because
then td->td_sel is NULL and this will result in a segfault inside selrecord().
This happens when only using kqueue() to poll for read and write events.
If select() and kqueue() is mixed there won't be a segfault.

Reported by:	Johannes Lundberg
MFC after:	1 week
Sponsored by:	Mellanox Technologies
2017-10-13 14:14:46 +00:00
..
common Don't call selrecord() outside the select system call in the LinuxKPI, because 2017-10-13 14:14:46 +00:00