Re: [PATCH] IPv6 PMTU/MTU for 2.5.31

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-
: 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

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux