Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 Jan 2021 09:39:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 252539] [PATCH] kevent(2): wrong EVFILT_TIMER timeouts when using NOTE_NSECONDS
Message-ID:  <bug-252539-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252539

            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@FreeBSD.org
          Reporter: jan.kokemueller@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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-252539-227>