ip6_ins_rt(nrt, NULL, NULL); 
ip6_ins_rt(nrt, NULL, NULL, NULL); 
void rt6_pmtu_discovery(struct in6_addr *daddr, struct in6_addr *saddr,			struct net_device *dev, u32 pmtu){	struct rt6_info *rt, *nrt;	int allfrag = 0;	rt = rt6_lookup(daddr, saddr, dev->ifindex, 0);	if (rt == NULL)		return;	if (pmtu >= dst_mtu(&rt->u.dst))		goto out;	if (pmtu < IPV6_MIN_MTU) {		/*		 * According to RFC2460, PMTU is set to the IPv6 Minimum Link 		 * MTU (1280) and a fragment header should always be included		 * after a node receiving Too Big message reporting PMTU is		 * less than the IPv6 Minimum Link MTU.		 */		pmtu = IPV6_MIN_MTU;		allfrag = 1;	}	/* New mtu received -> path was valid.	   They are sent only in response to data packets,	   so that this nexthop apparently is reachable. --ANK	 */	dst_confirm(&rt->u.dst);	/* Host route. If it is static, it would be better	   not to override it, but add new one, so that	   when cache entry will expire old pmtu	   would return automatically.	 */	if (rt->rt6i_flags & RTF_CACHE) {		rt->u.dst.metrics[RTAX_MTU-1] = pmtu;		if (allfrag)			rt->u.dst.metrics[RTAX_FEATURES-1] |= RTAX_FEATURE_ALLFRAG;		dst_set_expires(&rt->u.dst, ip6_rt_mtu_expires);		rt->rt6i_flags |= RTF_MODIFIED|RTF_EXPIRES;		goto out;	}	/* Network route.	   Two cases are possible:	   1. It is connected route. Action: COW	   2. It is gatewayed route or NONEXTHOP route. Action: clone it.	 */	if (!rt->rt6i_nexthop && !(rt->rt6i_flags & RTF_NONEXTHOP)) {		nrt = rt6_cow(rt, daddr, saddr);		if (!nrt->u.dst.error) {			nrt->u.dst.metrics[RTAX_MTU-1] = pmtu;			if (allfrag)				nrt->u.dst.metrics[RTAX_FEATURES-1] |= RTAX_FEATURE_ALLFRAG;			/* 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);	} else {		nrt = ip6_rt_copy(rt);		if (nrt == NULL)			goto out;		ipv6_addr_copy(&nrt->rt6i_dst.addr, daddr);		nrt->rt6i_dst.plen = 128;		nrt->u.dst.flags |= DST_HOST;		nrt->rt6i_nexthop = neigh_clone(rt->rt6i_nexthop);		dst_set_expires(&nrt->u.dst, ip6_rt_mtu_expires);		nrt->rt6i_flags |= RTF_DYNAMIC|RTF_CACHE|RTF_EXPIRES;		nrt->u.dst.metrics[RTAX_MTU-1] = pmtu;		if (allfrag)			nrt->u.dst.metrics[RTAX_FEATURES-1] |= RTAX_FEATURE_ALLFRAG;		ip6_ins_rt(nrt, NULL, NULL);	}out:	dst_release(&rt->u.dst);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/0d51aa80a9b1db43920c0770c3bb842dd823c005/route.c/buggy/net/ipv6/route.c