diff options
author | Hans Petter Selasky <hselasky@FreeBSD.org> | 2017-10-13 14:14:46 +0000 |
---|---|---|
committer | Hans Petter Selasky <hselasky@FreeBSD.org> | 2017-10-13 14:14:46 +0000 |
commit | 627ac5b4e3befe4830fe8abda5d649bf278f4f84 (patch) | |
tree | 89150c58fd3c6e482266870419c8d314962cd234 /release/arm/BANANAPI.conf | |
parent | 6e309d75d22d31b987dd5a28b6a758b043cfadff (diff) | |
download | src-627ac5b4e3befe4830fe8abda5d649bf278f4f84.tar.gz src-627ac5b4e3befe4830fe8abda5d649bf278f4f84.zip |
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
Notes
Notes:
svn path=/head/; revision=324597
Diffstat (limited to 'release/arm/BANANAPI.conf')
0 files changed, 0 insertions, 0 deletions