Thread (5 messages) flat view 5 messages, 1 author, 2016-06-22

Re: [RFC nf-next 1/3] netfilter: bridge: add and use br_nf_hook_thresh

From: Aaron Conole <hidden>
Date: 2016-06-22 21:43:11
Also in: netfilter-devel

Aaron Conole [off-list ref] writes:
From: Florian Westphal <fw@strlen.de>

This replaces the last uses of NF_HOOK_THRESH().
Followup patch will remove it and rename nf_hook_thresh.

The reason is that inet (non-bridge) netfilter no longer invokes the
hooks from hooks, so we do no longer need the thresh value to skip hooks
with a lower priority.

The bridge netfilter however may need to do this. br_nf_hook_thresh is a
wrapper that is supposed to do this, i.e. only call hooks with a
priority that exceeds NF_BR_PRI_BRNF.

It's used only in the recursion cases of br_netfilter.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Aaron Conole <aconole@redhat.com>
---
I will make sure to fix the address in this patch.  Apologies.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help