Andrey Vagin d3052b557a ipv6: delete expired route in ip6_pmtu_deliver
The first big packets sent to a "low-MTU" client correctly
triggers the creation of a temporary route containing the reduced MTU.

But after the temporary route has expired, new ICMP6 "packet too big"
will be sent, rt6_pmtu_discovery will find the previous EXPIRED route
check that its mtu isn't bigger then in icmp packet and do nothing
before the temporary route will not deleted by gc.

I make the simple experiment:
while :; do
    time ( dd if=/dev/zero bs=10K count=1 | ssh hostname dd of=/dev/null ) || break;
done

The "time" reports real 0m0.197s if a temporary route isn't expired, but
it reports real 0m52.837s (!!!!) immediately after a temporare route has
expired.

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-12-16 12:28:13 -08:00
..
2010-02-22 16:20:22 -08:00
2010-09-23 14:33:39 -07:00
2010-06-09 18:39:27 -07:00
2010-02-22 16:20:22 -08:00
2010-05-11 14:40:55 +02:00
2010-06-10 23:31:35 -07:00
2010-10-25 14:18:28 -07:00
2010-06-26 22:00:03 -07:00
2010-10-25 13:09:45 -07:00
2010-10-25 14:18:28 -07:00
2010-01-17 19:16:02 -08:00