vti4: ipip tunnel deregistration fixes.
authorJeremy Sowden <jeremy@azazel.net>
Tue, 19 Mar 2019 15:39:20 +0000 (15:39 +0000)
committerSteffen Klassert <steffen.klassert@secunet.com>
Thu, 21 Mar 2019 11:54:01 +0000 (12:54 +0100)
commit5483844c3fc18474de29f5d6733003526e0a9f78
treece17a4582c4d76a3a4d90c19cf85110ebc65bc93
parentbfc01ddff2b0c33de21af436324a669e95ac7e78
vti4: ipip tunnel deregistration fixes.

If tunnel registration failed during module initialization, the module
would fail to deregister the IPPROTO_COMP protocol and would attempt to
deregister the tunnel.

The tunnel was not deregistered during module-exit.

Fixes: dd9ee3444014e ("vti4: Fix a ipip packet processing bug in 'IPCOMP' virtual tunnel")
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/ipv4/ip_vti.c