Skip to content
Commit 451c2b5c authored by Aya Mahfouz's avatar Aya Mahfouz Committed by David S. Miller
Browse files

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: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarAya Mahfouz <mahfouz.saif.elyazal@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 206b4950
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment