[Bug 252539] [PATCH] kevent(2): wrong EVFILT_TIMER timeouts when using NOTE_NSECONDS

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jan 9 09:39:53 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252539

            Bug ID: 252539
           Summary: [PATCH] kevent(2): wrong EVFILT_TIMER timeouts when
                    using NOTE_NSECONDS
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: jan.kokemueller at gmail.com

There is a typo in "timer2sbintime" (sys/kern/kern_event.c) when converting
NOTE_NSECONDS to sbintime_t. For the nanosecond part US_TO_SBT instead of
NS_TO_SBT is used. This results in weird timeout values.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list