]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_queue: improve queue range support for bridge family
authorLiping Zhang <liping.zhang@spreadtrum.com>
Thu, 15 Sep 2016 12:50:16 +0000 (20:50 +0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 23 Sep 2016 07:30:01 +0000 (09:30 +0200)
commitb352ffc54ee034e77d579570384f932e34ae69d0
tree7040920f15aa95593137552f50a8f3a46b9bafd2
parent2027abad30f14b6fdea01456e314c7104e69d8ef
netfilter: nf_queue: improve queue range support for bridge family

After commit c6e5b2a5f457 ("netfilter: bridge: add nf_afinfo to enable
queuing to userspace"), we can queue packets to the user space in bridge
family. But when the user specify the queue range, packets will be only
delivered to the first queue num. Because in nfqueue_hash, we only support
ipv4 and ipv6 family. Now add support for bridge family too.

Suggested-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Liping Zhang <liping.zhang@spreadtrum.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_queue.h