icmp.c (f68ec0c24755e5cdb779be6240925f2175311d84) | icmp.c (3bd653c8455bc7991bae77968702b31c8f5df883) |
---|---|
1/* 2 * Internet Control Message Protocol (ICMPv6) 3 * Linux INET6 implementation 4 * 5 * Authors: 6 * Pedro Roque <roque@di.fc.ul.pt> 7 * 8 * Based on net/ipv4/icmp.c --- 169 unchanged lines hidden (view full) --- 178 179 /* 180 * Look up the output route. 181 * XXX: perhaps the expire for routing entries cloned by 182 * this lookup should be more aggressive (not longer than timeout). 183 */ 184 dst = ip6_route_output(net, sk, fl); 185 if (dst->error) { | 1/* 2 * Internet Control Message Protocol (ICMPv6) 3 * Linux INET6 implementation 4 * 5 * Authors: 6 * Pedro Roque <roque@di.fc.ul.pt> 7 * 8 * Based on net/ipv4/icmp.c --- 169 unchanged lines hidden (view full) --- 178 179 /* 180 * Look up the output route. 181 * XXX: perhaps the expire for routing entries cloned by 182 * this lookup should be more aggressive (not longer than timeout). 183 */ 184 dst = ip6_route_output(net, sk, fl); 185 if (dst->error) { |
186 IP6_INC_STATS(ip6_dst_idev(dst), | 186 IP6_INC_STATS(net, ip6_dst_idev(dst), |
187 IPSTATS_MIB_OUTNOROUTES); 188 } else if (dst->dev && (dst->dev->flags&IFF_LOOPBACK)) { 189 res = 1; 190 } else { 191 struct rt6_info *rt = (struct rt6_info *)dst; 192 int tmo = net->ipv6.sysctl.icmpv6_time; 193 194 /* Give more bandwidth to wider prefixes. */ --- 784 unchanged lines hidden --- | 187 IPSTATS_MIB_OUTNOROUTES); 188 } else if (dst->dev && (dst->dev->flags&IFF_LOOPBACK)) { 189 res = 1; 190 } else { 191 struct rt6_info *rt = (struct rt6_info *)dst; 192 int tmo = net->ipv6.sysctl.icmpv6_time; 193 194 /* Give more bandwidth to wider prefixes. */ --- 784 unchanged lines hidden --- |