mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
sit: update frag_off info
After parsing the sit netlink change info, we forget to update frag_off in ipip6_tunnel_update(). Fix it by assigning frag_off with new value. Reported-by: Jianlin Shi <[email protected]> Signed-off-by: Hangbin Liu <[email protected]> Acked-by: Nicolas Dichtel <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
3016dad75b
commit
f859b4af1c
1 changed files with 1 additions and 0 deletions
|
|
@ -1098,6 +1098,7 @@ static void ipip6_tunnel_update(struct ip_tunnel *t, struct ip_tunnel_parm *p,
|
|||
ipip6_tunnel_link(sitn, t);
|
||||
t->parms.iph.ttl = p->iph.ttl;
|
||||
t->parms.iph.tos = p->iph.tos;
|
||||
t->parms.iph.frag_off = p->iph.frag_off;
|
||||
if (t->parms.link != p->link || t->fwmark != fwmark) {
|
||||
t->parms.link = p->link;
|
||||
t->fwmark = fwmark;
|
||||
|
|
|
|||
Loading…
Reference in a new issue