opnsense-src/sys/compat/linuxkpi/common
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
..
include Add get_random_{int,long} to the LinuxKPI. 2017-10-04 17:29:08 +00:00
src Don't call selrecord() outside the select system call in the LinuxKPI, because 2017-10-13 14:14:46 +00:00