DragonFly commits List (threaded) for 2010-07
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: kernel - kqfilter - Fix edge-case lockup in kern_kevent()
commit 62405ecc9078dc3f5e679184fd53baf760eef456
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date: Fri Jul 9 14:08:23 2010 -0700
kernel - kqfilter - Fix edge-case lockup in kern_kevent()
* An edge case where the marker can wind up at the head of
a non-empty event list containing only spurious events. This
causes an endless loop to be entered because only the sleep
case moves the marker.
* If no events were processed and we loop the marker is now
moved, fixing the problem.
Summary of changes:
sys/kern/kern_event.c | 36 +++++++++++++++++++++++++++++++-----
1 files changed, 31 insertions(+), 5 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/62405ecc9078dc3f5e679184fd53baf760eef456
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]