>From db2fba74dea98b69ee7615fca86b9847bc42887f Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Fri, 10 Apr 2015 21:40:58 +0200 Subject: [PATCH] netfilter: nf_tables: restrict nft_queue to AF_INET and AF_INET6 Other families need the corresponding struct nf_afinfo in place to work. Restrict it to NFPROTO_IPV4 and NFPROTO_IPV6 until the necessary code is in place. Signed-off-by: Pablo Neira Ayuso --- net/netfilter/nft_queue.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/netfilter/nft_queue.c b/net/netfilter/nft_queue.c index e8ae2f6..42ca976 100644 --- a/net/netfilter/nft_queue.c +++ b/net/netfilter/nft_queue.c @@ -129,4 +129,5 @@ module_exit(nft_queue_module_exit); MODULE_LICENSE("GPL"); MODULE_AUTHOR("Eric Leblond "); -MODULE_ALIAS_NFT_EXPR("queue"); +MODULE_ALIAS_NFT_AF_EXPR(AF_INET, "queue"); +MODULE_ALIAS_NFT_AF_EXPR(AF_INET6, "queue"); -- 1.7.10.4