commit | f25c3d613b12b4b6219d03e9930cac5f59541468 | [log] [tgz] |
---|---|---|
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | Mon Apr 21 02:34:08 2008 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Apr 21 02:34:08 2008 -0700 |
tree | 0438cd32c718aaefdb6e083eeb81f7f75e56256a | |
parent | 263173af5b4635c07dd862255e5b767cd429c640 [diff] |
[IPV4]: Convert do_gettimeofday() to getnstimeofday(). What do_gettimeofday() does is to call getnstimeofday() and to convert the result from timespec{} to timeval{}. After that, these callers convert the result again to msec. Use getnstimeofday() and convert the units at once. Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>