[IPV4]: Convert do_gettimeofday() to getnstimeofday().
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Mon, 21 Apr 2008 09:34:08 +0000 (02:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Apr 2008 09:34:08 +0000 (02:34 -0700)
commitf25c3d613b12b4b6219d03e9930cac5f59541468
tree0438cd32c718aaefdb6e083eeb81f7f75e56256a
parent263173af5b4635c07dd862255e5b767cd429c640
[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>
net/ipv4/icmp.c
net/ipv4/ip_options.c