Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108160927
D35313.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
384 B
Referenced Files
None
Subscribers
None
D35313.diff
View Options
diff --git a/sys/kern/kern_event.c b/sys/kern/kern_event.c
--- a/sys/kern/kern_event.c
+++ b/sys/kern/kern_event.c
@@ -739,7 +739,7 @@
if (delta == 0)
delta = 1;
kn->kn_data += delta;
- kc->next += (delta + 1) * kc->to;
+ kc->next += delta * kc->to;
if (now >= kc->next) /* overflow */
kc->next = now + kc->to;
KNOTE_ACTIVATE(kn, 0); /* XXX - handle locking */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 23, 1:14 AM (20 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16044429
Default Alt Text
D35313.diff (384 B)
Attached To
Mode
D35313: kevent: Fix an off-by-one in filt_timerexpire_l()
Attached
Detach File
Event Timeline
Log In to Comment