]> git.baikalelectronics.ru Git - kernel.git/commit
net: dns_resolver: convert time_t to time64_t
authorAya Mahfouz <mahfouz.saif.elyazal@gmail.com>
Wed, 18 Nov 2015 06:36:44 +0000 (08:36 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Nov 2015 21:27:46 +0000 (16:27 -0500)
commitfc525bd11a9c1c1340ffe774e46c2a59ad14466b
treed9c722e92738b27af342cbdf9ddedd740cf7202e
parent8a5821c13e0f8365292d56a750b4ee6484e200a8
net: dns_resolver: convert time_t to time64_t

Changes the definition of the pointer _expiry from time_t to
time64_t. This is to handle the Y2038 problem where time_t
will overflow in the year 2038. The change is safe because
the kernel subsystems that call dns_query pass NULL.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/dns_resolver.h
net/dns_resolver/dns_query.c