]> git.baikalelectronics.ru Git - kernel.git/commit
rxrpc: Replace get_seconds with ktime_get_seconds
authorKsenija Stanojevic <ksenija.stanojevic@gmail.com>
Thu, 17 Sep 2015 16:12:53 +0000 (18:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Sep 2015 04:53:56 +0000 (21:53 -0700)
commita3b30734981f15fb89ce0ad45c34d5d87c793d38
treeaccd07556d304f3fd0113957c4da2006b1acde92
parent49c599ee55b083fb85141642c739040579d54e01
rxrpc: Replace get_seconds with ktime_get_seconds

Replace time_t type and get_seconds function which are not y2038 safe
on 32-bit systems. Function ktime_get_seconds use monotonic instead of
real time and therefore will not cause overflow.

Signed-off-by: Ksenija Stanojevic <ksenija.stanojevic@gmail.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rxrpc/ar-connection.c
net/rxrpc/ar-internal.h
net/rxrpc/ar-transport.c