Date: Sat, 15 Apr 2017 15:32:23 +0000 (UTC) From: Dmitry Chagin <dchagin@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r316969 - stable/11/sys/compat/linux Message-ID: <201704151532.v3FFWNlk092196@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dchagin Date: Sat Apr 15 15:32:22 2017 New Revision: 316969 URL: https://svnweb.freebsd.org/changeset/base/316969 Log: MFC r316395: Remove excess tv_nsec test as this is done by linux_to_native_timespec(). Modified: stable/11/sys/compat/linux/linux_futex.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/compat/linux/linux_futex.c ============================================================================== --- stable/11/sys/compat/linux/linux_futex.c Sat Apr 15 15:31:28 2017 (r316968) +++ stable/11/sys/compat/linux/linux_futex.c Sat Apr 15 15:32:22 2017 (r316969) @@ -294,9 +294,6 @@ futex_copyin_timeout(int op, struct l_ti error = linux_to_native_timespec(ts, <s); if (error) return (error); - if (ts->tv_nsec < 0 || ts->tv_nsec >= 1000000000) - return (EINVAL); - if (clockrt) { nanotime(&kts); timespecsub(ts, &kts);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704151532.v3FFWNlk092196>