Re: [PATCH] IPv6 PMTU/MTU for 2.5.31

From: kuznet@ms2.inr.ac.ru
Date: Wed Aug 28 2002 - 12:50:38 EST


Hello!

I do not understand this:

> @@ -1014,9 +1018,14 @@
> nrt = rt6_cow(rt, daddr, saddr);
> if (!nrt->u.dst.error) {
> nrt->u.dst.pmtu = pmtu;
> - dst_set_expires(&rt->u.dst, ip6_rt_mtu_expires);
> + /* According to RFC 1981, detecting PMTU increase shouldn't be
> + happened within 5 mins, the recommended timer is 10 mins.
> + Here this route expiration time is set to ip6_rt_mtu_expires
> + which is 10 mins. After 10 mins the decreased pmtu is expired
> + and detecting PMTU increase will be automatically happened.
> + */
> + dst_set_expires(&nrt->u.dst, ip6_rt_mtu_expires);
> nrt->rt6i_flags |= RTF_DYNAMIC|RTF_EXPIRES;
> - dst_release(&nrt->u.dst);
                    ^^^^^^^^^^^^^^^^^^^^^^^
and similar dst_hold() below. Where is this reference released? I do not see.

Alexey
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html



This archive was generated by hypermail 2b29 : Sat Aug 31 2002 - 22:00:01 EST