summaryrefslogtreecommitdiffstats
path: root/net/netfilter/nft_queue.c
Commit message (Collapse)AuthorAgeFilesLines
* netfilter: nf_tables: fix log/queue expressions for NFPROTO_INETPatrick McHardy2014-02-061-3/+1Star
| | | | | | | | | | | | The log and queue expressions both store the family during ->init() and use it to deliver packets. This is wrong when used in NFPROTO_INET since they should both deliver to the actual AF of the packet, not the dummy NFPROTO_INET. Use the family from the hook ops to fix this. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* netfilter: nft: add queue moduleEric Leblond2013-12-071-0/+134
This patch adds a new nft module named "nft_queue" which provides a new nftables expression that allows you to enqueue packets to userspace via the nfnetlink_queue subsystem. It provides the same level of functionality as NFQUEUE and it shares some code with it. Signed-off-by: Eric Leblond <eric@regit.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>