sit: update frag_off info
authorHangbin Liu <liuhangbin@gmail.com>
Thu, 30 Nov 2017 02:41:14 +0000 (10:41 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 17 Dec 2017 14:07:56 +0000 (15:07 +0100)
commitdacf127383fc2dabd2befbead91cbbf22c3dc2ab
treee2d6ecd7a4946d6d3c16afc89c7077a09099d9c5
parent9d9a63d74b2b6ed7c30c7d1584d87c16ae8d5862
sit: update frag_off info

[ Upstream commit f859b4af1c52493ec21173ccc73d0b60029b5b88 ]

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 <jishi@redhat.com>
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Acked-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ipv6/sit.c