summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-11-25 21:25:46 +0100
committerArnd Bergmann <arnd@arndb.de>2019-11-25 21:52:35 +0100
commitb111df8447acdeb4b9220f99d5d4b28f83eb56ad (patch)
tree4aa99f9b867106165591f5b748d14eccf782b02a /net
parenty2038: ipc: fix x32 ABI breakage (diff)
downloadlinux-b111df8447acdeb4b9220f99d5d4b28f83eb56ad.tar.xz
linux-b111df8447acdeb4b9220f99d5d4b28f83eb56ad.zip
y2038: alarm: fix half-second cut-off
Changing alarm_itimer accidentally broke the logic for arithmetic rounding of half seconds in the return code. Change it to a constant based on NSEC_PER_SEC, as suggested by Ben Hutchings. Fixes: bd40a175769d ("y2038: itimer: change implementation to timespec64") Reported-by: Ben Hutchings <ben.hutchings@codethink.co.uk> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions