ip6_output.c (cf6b1982599cbb60f410adeda659b0b29cdf7ad7) | ip6_output.c (8e1ef0a95b87e8b4292b2ba733e8cb854ea2d2fe) |
---|---|
1/* 2 * IPv6 output functions 3 * Linux INET6 implementation 4 * 5 * Authors: 6 * Pedro Roque <roque@di.fc.ul.pt> 7 * 8 * $Id: ip6_output.c,v 1.34 2002/02/01 22:01:04 davem Exp $ --- 748 unchanged lines hidden (view full) --- 757 * We do not want to save whole address now, 758 * (because main consumer of this service 759 * is tcp, which has not this problem), 760 * so that the last trick works only on connected 761 * sockets. 762 * 2. oif also should be the same. 763 */ 764 if (ip6_rt_check(&rt->rt6i_dst, &fl->fl6_dst, np->daddr_cache) || | 1/* 2 * IPv6 output functions 3 * Linux INET6 implementation 4 * 5 * Authors: 6 * Pedro Roque <roque@di.fc.ul.pt> 7 * 8 * $Id: ip6_output.c,v 1.34 2002/02/01 22:01:04 davem Exp $ --- 748 unchanged lines hidden (view full) --- 757 * We do not want to save whole address now, 758 * (because main consumer of this service 759 * is tcp, which has not this problem), 760 * so that the last trick works only on connected 761 * sockets. 762 * 2. oif also should be the same. 763 */ 764 if (ip6_rt_check(&rt->rt6i_dst, &fl->fl6_dst, np->daddr_cache) || |
765#ifdef CONFIG_IPV6_SUBTREES 766 ip6_rt_check(&rt->rt6i_src, &fl->fl6_src, np->saddr_cache) || 767#endif |
|
765 (fl->oif && fl->oif != dst->dev->ifindex)) { 766 dst_release(dst); 767 dst = NULL; 768 } 769 770out: 771 return dst; 772} --- 529 unchanged lines hidden --- | 768 (fl->oif && fl->oif != dst->dev->ifindex)) { 769 dst_release(dst); 770 dst = NULL; 771 } 772 773out: 774 return dst; 775} --- 529 unchanged lines hidden --- |