- net-next.git - net-next plumbings
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiping Zhang <liping.zhang@spreadtrum.com>2016-09-15 20:50:16 +0800
committerPablo Neira Ayuso <pablo@netfilter.org>2016-09-23 09:30:01 +0200
commit2462f3f4a7e079192b78f36900c34f18dad824a7 (patch)
tree7040920f15aa95593137552f50a8f3a46b9bafd2
parent8061bb54436c19fd16b7c734a69ff60bac26e3e9 (diff)
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>