]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitbaab2ce7d2a8dbf6280ab09c011cfec1dd5972de
tree60cc03f14468a7244ae49a621eaeb8f2dbac84e9
parent1792bab4caaa85bae858799bb6231f171f59b58a
[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