diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-09-30 14:26:39 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-10-05 13:16:47 +0300 |
commit | 3dd7669f1f13772d0a846dee58379399f163729c (patch) | |
tree | 3404c02718e7fcbb04a6c1594bbeede886a8d8d5 /net/sctp | |
parent | f6389ecbc5f3ddc5860aab22bd7f7e1a8aeb3165 (diff) | |
download | linux-3dd7669f1f13772d0a846dee58379399f163729c.tar.xz |
ipv6: use ktime_t for internal timestamps
The ipv6 mip6 implementation is one of only a few users of the
skb_get_timestamp() function in the kernel, which is both unsafe
on 32-bit architectures because of the 2038 overflow, and slightly
less efficient than the skb_get_ktime() based approach.
This converts the function call and the mip6_report_rate_limiter
structure that stores the time stamp, eliminating all uses of
timeval in the ipv6 code.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
Cc: James Morris <jmorris@namei.org>
Cc: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Cc: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp')
0 files changed, 0 insertions, 0 deletions