ip6_gre: update version related info when changing link
authorHangbin Liu <liuhangbin@gmail.com>
Thu, 10 Jan 2019 03:17:42 +0000 (11:17 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Jan 2019 21:33:44 +0000 (13:33 -0800)
commit80b3671e9377916bf2b02e56113fa7377ce5705a
tree971b75921b589fa48f5f86e488c2e7443f7587bb
parentd9f903f6af3dc6d13b21c0eca8f4a169aa70d80d
ip6_gre: update version related info when changing link

We forgot to update ip6erspan version related info when changing link,
which will cause setting new hwid failed.

Reported-by: Jianlin Shi <jishi@redhat.com>
Fixes: 94d7d8f292870 ("ip6_gre: add erspan v2 support")
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_gre.c