diff options
-rw-r--r-- | net/ipv6/ip6_tunnel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/ip6_tunnel.c b/net/ipv6/ip6_tunnel.c index f39ddeae1eef..09613729404c 100644 --- a/net/ipv6/ip6_tunnel.c +++ b/net/ipv6/ip6_tunnel.c | |||
@@ -1123,7 +1123,7 @@ static inline int ip6ip6_register(void) | |||
1123 | 1123 | ||
1124 | static inline int ip6ip6_unregister(void) | 1124 | static inline int ip6ip6_unregister(void) |
1125 | { | 1125 | { |
1126 | return xfrm6_tunnel_unregister(&ip6ip6_handler); | 1126 | return xfrm6_tunnel_deregister(&ip6ip6_handler); |
1127 | } | 1127 | } |
1128 | #else | 1128 | #else |
1129 | static struct inet6_protocol xfrm6_tunnel_protocol = { | 1129 | static struct inet6_protocol xfrm6_tunnel_protocol = { |