]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5a9e9233b4cdd50e0f9301f055fc17000ba4955c
treece17a4582c4d76a3a4d90c19cf85110ebc65bc93
parent371c1873f381facec9a0fc0d2fa73adf1d1a1638
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: 125bb8f0a4279 ("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