af_inet6.c (ab32ea5d8a760e7dd4339634e95d7be24ee5b842) af_inet6.c (8e1ef0a95b87e8b4292b2ba733e8cb854ea2d2fe)
1/*
2 * PF_INET6 socket protocol family
3 * Linux INET6 implementation
4 *
5 * Authors:
6 * Pedro Roque <roque@di.fc.ul.pt>
7 *
8 * Adapted from linux/net/ipv4/af_inet.c

--- 645 unchanged lines hidden (view full) ---

654 if (final_p)
655 ipv6_addr_copy(&fl.fl6_dst, final_p);
656
657 if ((err = xfrm_lookup(&dst, &fl, sk, 0)) < 0) {
658 sk->sk_err_soft = -err;
659 return err;
660 }
661
1/*
2 * PF_INET6 socket protocol family
3 * Linux INET6 implementation
4 *
5 * Authors:
6 * Pedro Roque <roque@di.fc.ul.pt>
7 *
8 * Adapted from linux/net/ipv4/af_inet.c

--- 645 unchanged lines hidden (view full) ---

654 if (final_p)
655 ipv6_addr_copy(&fl.fl6_dst, final_p);
656
657 if ((err = xfrm_lookup(&dst, &fl, sk, 0)) < 0) {
658 sk->sk_err_soft = -err;
659 return err;
660 }
661
662 __ip6_dst_store(sk, dst, NULL);
662 __ip6_dst_store(sk, dst, NULL, NULL);
663 }
664
665 return 0;
666}
667
668EXPORT_SYMBOL_GPL(inet6_sk_rebuild_header);
669
670int ipv6_opt_accepted(struct sock *sk, struct sk_buff *skb)

--- 273 unchanged lines hidden ---
663 }
664
665 return 0;
666}
667
668EXPORT_SYMBOL_GPL(inet6_sk_rebuild_header);
669
670int ipv6_opt_accepted(struct sock *sk, struct sk_buff *skb)

--- 273 unchanged lines hidden ---