]> git.baikalelectronics.ru Git - kernel.git/commit
[NETFILTER]: nfnetlink_{queue,log}: return proper error codes in instance_create
authorPatrick McHardy <kaber@trash.net>
Tue, 18 Dec 2007 06:41:21 +0000 (22:41 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:59:02 +0000 (14:59 -0800)
commit11463af7c250f7612dd5db01755b02e738c132ec
tree60cc03f14468a7244ae49a621eaeb8f2dbac84e9
parent01ae619fc4d329a6dcb4bde7a8a94f91510c2870
[NETFILTER]: nfnetlink_{queue,log}: return proper error codes in instance_create

Currently we return EINVAL for "instance exists", "allocation failed" and
"module unloaded below us", which is completely inapproriate.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/nfnetlink_log.c
net/netfilter/nfnetlink_queue.c