netfilter: nfnetlink_queue: fix error return code in nfnetlink_queue_init()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 22 Mar 2013 01:28:18 +0000 (01:28 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 25 Mar 2013 13:21:27 +0000 (14:21 +0100)
commit558724a5b2a73ad0c7638e21e8dffc419d267b6c
treec383c5907a40f74bc81e9370097243d4914d1ec4
parent130549fed828cc34c22624c6195afcf9e7ae56fe
netfilter: nfnetlink_queue: fix error return code in nfnetlink_queue_init()

Fix to return a negative error code from the error handling
case instead of 0, as returned elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nfnetlink_queue_core.c