|
@@ -976,6 +976,7 @@ static void ip6gre_tnl_link_config(struct ip6_tnl *t, int set_mtu)
|
|
|
if (t->parms.o_flags&GRE_SEQ)
|
|
if (t->parms.o_flags&GRE_SEQ)
|
|
|
addend += 4;
|
|
addend += 4;
|
|
|
}
|
|
}
|
|
|
|
|
+ t->hlen = addend;
|
|
|
|
|
|
|
|
if (p->flags & IP6_TNL_F_CAP_XMIT) {
|
|
if (p->flags & IP6_TNL_F_CAP_XMIT) {
|
|
|
int strict = (ipv6_addr_type(&p->raddr) &
|
|
int strict = (ipv6_addr_type(&p->raddr) &
|
|
@@ -1002,8 +1003,6 @@ static void ip6gre_tnl_link_config(struct ip6_tnl *t, int set_mtu)
|
|
|
}
|
|
}
|
|
|
ip6_rt_put(rt);
|
|
ip6_rt_put(rt);
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
- t->hlen = addend;
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
static int ip6gre_tnl_change(struct ip6_tnl *t,
|
|
static int ip6gre_tnl_change(struct ip6_tnl *t,
|