]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commit2462f3f4a7e079192b78f36900c34f18dad824a7
tree7040920f15aa95593137552f50a8f3a46b9bafd2
parent8061bb54436c19fd16b7c734a69ff60bac26e3e9
netfilter: nf_queue: improve queue range support for bridge family

After commit ac2863445686 ("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