|
@@ -954,7 +954,7 @@ static void init_tel_txopt(struct ipv6_tel_txoption *opt, __u8 encap_limit)
|
|
opt->dst_opt[5] = IPV6_TLV_PADN;
|
|
opt->dst_opt[5] = IPV6_TLV_PADN;
|
|
opt->dst_opt[6] = 1;
|
|
opt->dst_opt[6] = 1;
|
|
|
|
|
|
- opt->ops.dst0opt = (struct ipv6_opt_hdr *) opt->dst_opt;
|
|
|
|
|
|
+ opt->ops.dst1opt = (struct ipv6_opt_hdr *) opt->dst_opt;
|
|
opt->ops.opt_nflen = 8;
|
|
opt->ops.opt_nflen = 8;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -1178,7 +1178,7 @@ route_lookup:
|
|
|
|
|
|
if (encap_limit >= 0) {
|
|
if (encap_limit >= 0) {
|
|
init_tel_txopt(&opt, encap_limit);
|
|
init_tel_txopt(&opt, encap_limit);
|
|
- ipv6_push_nfrag_opts(skb, &opt.ops, &proto, NULL, NULL);
|
|
|
|
|
|
+ ipv6_push_frag_opts(skb, &opt.ops, &proto);
|
|
}
|
|
}
|
|
|
|
|
|
/* Calculate max headroom for all the headers and adjust
|
|
/* Calculate max headroom for all the headers and adjust
|