diff options
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/ip6_tunnel.c | 1 | ||||
-rw-r--r-- | net/ipv6/sit.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv6/ip6_tunnel.c b/net/ipv6/ip6_tunnel.c index 937625e577c1..2320cc27ff9e 100644 --- a/net/ipv6/ip6_tunnel.c +++ b/net/ipv6/ip6_tunnel.c | |||
@@ -1313,7 +1313,6 @@ ip6_tnl_change_mtu(struct net_device *dev, int new_mtu) | |||
1313 | 1313 | ||
1314 | static void ip6_tnl_dev_setup(struct net_device *dev) | 1314 | static void ip6_tnl_dev_setup(struct net_device *dev) |
1315 | { | 1315 | { |
1316 | SET_MODULE_OWNER(dev); | ||
1317 | dev->uninit = ip6_tnl_dev_uninit; | 1316 | dev->uninit = ip6_tnl_dev_uninit; |
1318 | dev->destructor = free_netdev; | 1317 | dev->destructor = free_netdev; |
1319 | dev->hard_start_xmit = ip6_tnl_xmit; | 1318 | dev->hard_start_xmit = ip6_tnl_xmit; |
diff --git a/net/ipv6/sit.c b/net/ipv6/sit.c index e79f419b1731..466657a9a8bd 100644 --- a/net/ipv6/sit.c +++ b/net/ipv6/sit.c | |||
@@ -714,7 +714,6 @@ static int ipip6_tunnel_change_mtu(struct net_device *dev, int new_mtu) | |||
714 | 714 | ||
715 | static void ipip6_tunnel_setup(struct net_device *dev) | 715 | static void ipip6_tunnel_setup(struct net_device *dev) |
716 | { | 716 | { |
717 | SET_MODULE_OWNER(dev); | ||
718 | dev->uninit = ipip6_tunnel_uninit; | 717 | dev->uninit = ipip6_tunnel_uninit; |
719 | dev->destructor = free_netdev; | 718 | dev->destructor = free_netdev; |
720 | dev->hard_start_xmit = ipip6_tunnel_xmit; | 719 | dev->hard_start_xmit = ipip6_tunnel_xmit; |