]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
af_unix: netns: fix problem of return value
authorJianjun Kong <jianjun@zeuux.org>
Sun, 2 Nov 2008 04:37:27 +0000 (21:37 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 2 Nov 2008 04:37:27 +0000 (21:37 -0700)
commit48dcc33e5e11de0f76b65b113988dbc930d17395
tree5d541fc8c41d8bf9758f3ecec721f4a4b432d786
parentabdd5a0301a6306d6465ceca9de8e732b2fedaa5
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: Jianjun Kong <jianjun@zeuux.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/unix/af_unix.c