]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5ef62d3afce5a64e4cbab847c5ea0b5df787ccac
tree971b75921b589fa48f5f86e488c2e7443f7587bb
parent46f77d053fe547615ce02221e1a21e6f42902a2e
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: f2bf205dab511 ("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