diff options
Diffstat (limited to 'net/ipv4/ipip.c')
-rw-r--r-- | net/ipv4/ipip.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv4/ipip.c b/net/ipv4/ipip.c index b3ac3c3f6219..7f80fb4b82d3 100644 --- a/net/ipv4/ipip.c +++ b/net/ipv4/ipip.c | |||
@@ -285,7 +285,6 @@ static void ipip_tunnel_setup(struct net_device *dev) | |||
285 | dev->flags = IFF_NOARP; | 285 | dev->flags = IFF_NOARP; |
286 | dev->iflink = 0; | 286 | dev->iflink = 0; |
287 | dev->addr_len = 4; | 287 | dev->addr_len = 4; |
288 | dev->features |= NETIF_F_NETNS_LOCAL; | ||
289 | dev->features |= NETIF_F_LLTX; | 288 | dev->features |= NETIF_F_LLTX; |
290 | dev->priv_flags &= ~IFF_XMIT_DST_RELEASE; | 289 | dev->priv_flags &= ~IFF_XMIT_DST_RELEASE; |
291 | 290 | ||
@@ -436,7 +435,7 @@ static int __net_init ipip_init_net(struct net *net) | |||
436 | static void __net_exit ipip_exit_net(struct net *net) | 435 | static void __net_exit ipip_exit_net(struct net *net) |
437 | { | 436 | { |
438 | struct ip_tunnel_net *itn = net_generic(net, ipip_net_id); | 437 | struct ip_tunnel_net *itn = net_generic(net, ipip_net_id); |
439 | ip_tunnel_delete_net(itn); | 438 | ip_tunnel_delete_net(itn, &ipip_link_ops); |
440 | } | 439 | } |
441 | 440 | ||
442 | static struct pernet_operations ipip_net_ops = { | 441 | static struct pernet_operations ipip_net_ops = { |