Message ID | 086b426f44bc24360cc89476fe18d2758a2652af.1596344622.git.lukas@wunner.de |
---|---|
State | New |
Headers | show |
Series | appletalk: Fix atalk_proc_init() return path | expand |
diff --git a/net/appletalk/atalk_proc.c b/net/appletalk/atalk_proc.c index 550c6ca..9c12412 100644 --- a/net/appletalk/atalk_proc.c +++ b/net/appletalk/atalk_proc.c @@ -229,6 +229,8 @@ int __init atalk_proc_init(void) sizeof(struct aarp_iter_state), NULL)) goto out; + return 0; + out: remove_proc_subtree("atalk", init_net.proc_net); return -ENOMEM;