]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[NETFILTER]: more verbose return codes from nf_{log,queue}
authorHarald Welte <laforge@netfilter.org>
Wed, 10 Aug 2005 03:23:36 +0000 (20:23 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 29 Aug 2005 22:51:21 +0000 (15:51 -0700)
commitd72367b6f36e557f122beefaa8c6b80eb1c7f245
tree650d0bdca48e7f3ea6bc356f6aa868f34c6a226f
parentbbd86b9fc469b7e91dc7444e6abb8930811d79cb
[NETFILTER]: more verbose return codes from nf_{log,queue}

This adds EEXIST to distinguish between the following return values:
0:  nobody was registered, registration successful
EEXIST: the exact same handler was already registered, no registration
required
EBUSY: somebody else is registered, registration unsuccessful.

Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/nf_log.c
net/netfilter/nf_queue.c