CVSROOT: /cvs Module name: src Changes by: [email protected] 2022/05/12 07:33:00
Modified files:
sys/kern : kern_event.c
Log message:
kqueue: Fix race condition in knote_remove()
Always fetch the knlist array pointer at the start of every iteration
in knote_remove(). This prevents the use of a stale pointer after
another thread has simultaneously reallocated the kq_knlist array.
Reported and tested by and OK jsing@
