Skip to content
Commit 48dcc33e authored by Jianjun Kong's avatar Jianjun Kong Committed by David S. Miller
Browse files

af_unix: netns: fix problem of return value



fix problem of return value

net/unix/af_unix.c: unix_net_init()
when error appears, it should return 'error', not always return 0.

Signed-off-by: default avatarJianjun Kong <jianjun@zeuux.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent abdd5a03
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