Commit 37147652 authored by Alexander Aring's avatar Alexander Aring Committed by David S. Miller
Browse files

6lowpan: reassembly: fix return of init function

This patch adds a missing return after fragmentation init. Otherwise we
register a sysctl interface and deregister it afterwards which makes no
Signed-off-by: default avatarAlexander Aring <>
Signed-off-by: default avatarDavid S. Miller <>
parent d03e9d07
......@@ -535,7 +535,7 @@ int __init lowpan_net_frag_init(void)
ret = lowpan_frags_sysctl_register();
if (ret)
goto out;
return ret;
ret = register_pernet_subsys(&lowpan_frags_ops);
if (ret)
......@@ -550,9 +550,10 @@ int __init lowpan_net_frag_init(void)
lowpan_frags.frag_expire = lowpan_frag_expire;
lowpan_frags.secret_interval = 10 * 60 * HZ;
return ret;
return ret;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment