diff options
Diffstat (limited to 'net/ipv6/ip6_tunnel.c')
-rw-r--r-- | net/ipv6/ip6_tunnel.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/ipv6/ip6_tunnel.c b/net/ipv6/ip6_tunnel.c index e3b4237b2832..8e70a015c792 100644 --- a/net/ipv6/ip6_tunnel.c +++ b/net/ipv6/ip6_tunnel.c | |||
@@ -1882,10 +1882,8 @@ static int ip6_tnl_dev_init(struct net_device *dev) | |||
1882 | if (err) | 1882 | if (err) |
1883 | return err; | 1883 | return err; |
1884 | ip6_tnl_link_config(t); | 1884 | ip6_tnl_link_config(t); |
1885 | if (t->parms.collect_md) { | 1885 | if (t->parms.collect_md) |
1886 | dev->features |= NETIF_F_NETNS_LOCAL; | ||
1887 | netif_keep_dst(dev); | 1886 | netif_keep_dst(dev); |
1888 | } | ||
1889 | return 0; | 1887 | return 0; |
1890 | } | 1888 | } |
1891 | 1889 | ||