summaryrefslogtreecommitdiffstats
path: root/net/netfilter/nf_queue.c
Commit message (Collapse)AuthorAgeFilesLines
* [NETFILTER] nf_queue: Fix Ooops when no queue handler registeredHarald Welte2005-11-051-1/+1
| | | | | | | | | With the new nf_queue generalization in 2.6.14, we've introduced a bug that causes an oops as soon as a packet is queued but no queue handler registered. This patch fixes it. Signed-off-by: Harald Welte <laforge@netfilter.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
* [NETFILTER]: more verbose return codes from nf_{log,queue}Harald Welte2005-08-301-1/+5
| | | | | | | | | | | 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>
* [NETFILTER]: add /proc/net/netfilter interface to nf_queueHarald Welte2005-08-301-20/+86
| | | | | | | | | | | This patch adds a /proc/net/netfilter/nf_queue file, similar to the recently-added /proc/net/netfilter/nf_log. It indicates which queue handler is registered to which protocol family. This is useful since there are now multiple queue handlers in the treee (ip[6]_queue, nfnetlink_queue). Signed-off-by: Harald Welte <laforge@netfilter.org> Signed-off-by: David S. Miller <davem@davemloft.net>
* [NETFILTER]: split net/core/netfilter.c into net/netfilter/*.cHarald Welte2005-08-301-0/+273
This patch doesn't introduce any code changes, but merely splits the core netfilter code into four separate files. It also moves it from it's old location in net/core/ to the recently-created net/netfilter/ directory. Signed-off-by: Harald Welte <laforge@netfilter.org> Signed-off-by: David S. Miller <davem@davemloft.net>