aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2015-09-30 13:26:40 +0200
committerDavid S. Miller <davem@davemloft.net>2015-10-05 03:16:48 -0700
commit3ef0a25bf9ef318615c810e24d244d55c09806d7 (patch)
tree3e24640d10e5697ad1fd1111433c46544b373379 /fs
parentipv6: use ktime_t for internal timestamps (diff)
downloadlinux-dev-3ef0a25bf9ef318615c810e24d244d55c09806d7.tar.xz
linux-dev-3ef0a25bf9ef318615c810e24d244d55c09806d7.zip
net: sctp: avoid incorrect time_t use
We want to avoid using time_t in the kernel because of the y2038 overflow problem. The use in sctp is not for storing seconds at all, but instead uses microseconds and is passed as 32-bit on all machines. This patch changes the type to u32, which better fits the use. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Cc: Vlad Yasevich <vyasevich@gmail.com> Cc: Neil Horman <nhorman@tuxdriver.com> Cc: linux-sctp@vger.kernel.org Acked-by: Neil Horman <nhorman@tuxdriver.com> Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions