Lines Matching refs:skb2
567 struct sk_buff *skb2; in ip4ip6_err() local
602 skb2 = skb_clone(skb, GFP_ATOMIC); in ip4ip6_err()
603 if (!skb2) in ip4ip6_err()
606 skb_dst_drop(skb2); in ip4ip6_err()
608 skb_pull(skb2, offset); in ip4ip6_err()
609 skb_reset_network_header(skb2); in ip4ip6_err()
610 eiph = ip_hdr(skb2); in ip4ip6_err()
618 skb2->dev = rt->dst.dev; in ip4ip6_err()
631 skb_dst_set(skb2, &rt->dst); in ip4ip6_err()
633 if (ip_route_input(skb2, eiph->daddr, eiph->saddr, eiph->tos, in ip4ip6_err()
634 skb2->dev) || in ip4ip6_err()
635 skb_dst(skb2)->dev->type != ARPHRD_TUNNEL6) in ip4ip6_err()
641 if (rel_info > dst_mtu(skb_dst(skb2))) in ip4ip6_err()
644 skb_dst_update_pmtu_no_confirm(skb2, rel_info); in ip4ip6_err()
647 icmp_send(skb2, rel_type, rel_code, htonl(rel_info)); in ip4ip6_err()
650 kfree_skb(skb2); in ip4ip6_err()
670 struct sk_buff *skb2 = skb_clone(skb, GFP_ATOMIC); in ip6ip6_err() local
672 if (!skb2) in ip6ip6_err()
675 skb_dst_drop(skb2); in ip6ip6_err()
676 skb_pull(skb2, offset); in ip6ip6_err()
677 skb_reset_network_header(skb2); in ip6ip6_err()
680 rt = rt6_lookup(dev_net(skb->dev), &ipv6_hdr(skb2)->saddr, in ip6ip6_err()
681 NULL, 0, skb2, 0); in ip6ip6_err()
684 skb2->dev = rt->dst.dev; in ip6ip6_err()
686 icmpv6_send(skb2, rel_type, rel_code, rel_info); in ip6ip6_err()
690 kfree_skb(skb2); in ip6ip6_err()