traceroute: properly reduce poll timeout
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 5 May 2011 00:31:30 +0000 (02:31 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 5 May 2011 00:31:30 +0000 (02:31 +0200)
commita348b4557d3d0af411135c23448a2c5a7cd82982
tree84eecc099d0705991939fed91c278ce8b65e350d
parentd3e4be3ccb1506cfabecc4c2f0baeb07fdd06723
traceroute: properly reduce poll timeout

This removes the problem where during the time we wait to declare
a target as unresponsive we receive an unrelated ICMP packet.
If there is enough traffic, this can make traceroute hang as
it never declares the target as unresponsive.

function                                             old     new   delta
common_traceroute_main                              4196    4261     +65

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/traceroute.c