Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
This commit is contained in:
@@ -2261,6 +2261,9 @@ static int __init ip6_tunnel_init(void)
|
||||
{
|
||||
int err;
|
||||
|
||||
if (!ipv6_mod_enabled())
|
||||
return -EOPNOTSUPP;
|
||||
|
||||
err = register_pernet_device(&ip6_tnl_net_ops);
|
||||
if (err < 0)
|
||||
goto out_pernet;
|
||||
|
Reference in New Issue
Block a user