Lines Matching refs:rt2
485 struct rtable *rt, *rt2; in icmp_route_lookup() local
508 rt2 = rt; in icmp_route_lookup()
513 if (rt != rt2) in icmp_route_lookup()
526 rt2 = __ip_route_output_key(net, &fl4_dec); in icmp_route_lookup()
527 if (IS_ERR(rt2)) in icmp_route_lookup()
528 err = PTR_ERR(rt2); in icmp_route_lookup()
534 rt2 = ip_route_output_key(net, &fl4_2); in icmp_route_lookup()
535 if (IS_ERR(rt2)) { in icmp_route_lookup()
536 err = PTR_ERR(rt2); in icmp_route_lookup()
543 RT_TOS(tos), rt2->dst.dev); in icmp_route_lookup()
545 dst_release(&rt2->dst); in icmp_route_lookup()
546 rt2 = skb_rtable(skb_in); in icmp_route_lookup()
553 rt2 = (struct rtable *) xfrm_lookup(net, &rt2->dst, in icmp_route_lookup()
556 if (!IS_ERR(rt2)) { in icmp_route_lookup()
559 rt = rt2; in icmp_route_lookup()
560 } else if (PTR_ERR(rt2) == -EPERM) { in icmp_route_lookup()
563 return rt2; in icmp_route_lookup()
565 err = PTR_ERR(rt2); in icmp_route_lookup()