Commit 95b2dac
netfilter: nf_tables: remove redundant chain validation on register store
[ Upstream commit a67fd55 ]
This validation predates the introduction of the state machine that
determines when to enter slow path validation for error reporting.
Currently, table validation is perform when:
- new rule contains expressions that need validation.
- new set element with jump/goto verdict.
Validation on register store skips most checks with no basechains, still
this walks the graph searching for loops and ensuring expressions are
called from the right hook. Remove this.
Fixes: a654de8 ("netfilter: nf_tables: fix chain dependency validation")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent 79ea910 commit 95b2dac
1 file changed
Lines changed: 0 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11678 | 11678 | | |
11679 | 11679 | | |
11680 | 11680 | | |
11681 | | - | |
11682 | | - | |
11683 | 11681 | | |
11684 | 11682 | | |
11685 | 11683 | | |
11686 | 11684 | | |
11687 | | - | |
11688 | | - | |
11689 | | - | |
11690 | | - | |
11691 | | - | |
11692 | | - | |
11693 | | - | |
11694 | | - | |
11695 | | - | |
11696 | 11685 | | |
11697 | 11686 | | |
11698 | 11687 | | |
| |||
0 commit comments