ping: fix write-after-allocated-mem bug
authorDenis Vlasenko <vda.linux@googlemail.com>
Mon, 18 Jun 2007 08:55:57 +0000 (08:55 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Mon, 18 Jun 2007 08:55:57 +0000 (08:55 -0000)
commit7679145cfa61e41099645bdeecb6a8c2743c6772
treef130799bb1bd2f0721cb832c2dcee92b8d80c2ce
parentebd27aabaab98bef2f2d0fe0d7bf4261e5c3ffcd
ping: fix write-after-allocated-mem bug
ping: use monotonic_us instead of gettimeofday: smaller code and
      needs only 4 bytes in the packet
ping: display roundtrip times with 1/1000th of ms, not 1/10 ms precision.
wget: small optimization

function                                             old     new   delta
pingstats                                            243     259     +16
sendping6                                             98      93      -5
sendping4                                            183     178      -5
.rodata                                           129715  129707      -8
progressmeter                                        867     855     -12
unpack_tail                                          320     272     -48
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/5 up/down: 16/-78)            Total: -62 bytes
networking/ping.c
networking/wget.c