Florian Westphal e3b5e1ec75 Revert "netfilter: x_tables: ensure last rule in base chain matches underflow/policy"
This reverts commit 0d7df906a0e78079a02108b06d32c3ef2238ad25.

Valdis Kletnieks reported that xtables is broken in linux-next since
0d7df906a0e78  ("netfilter: x_tables: ensure last rule in base chain
matches underflow/policy"), as kernel rejects the (well-formed) ruleset:

[   64.402790] ip6_tables: last base chain position 1136 doesn't match underflow 1344 (hook 1)

mark_source_chains is not the correct place for such a check, as it
terminates evaluation of a chain once it sees an unconditional verdict
(following rules are known to be unreachable). It seems preferrable to
fix libiptc instead, so remove this check again.

Fixes: 0d7df906a0e78 ("netfilter: x_tables: ensure last rule in base chain matches underflow/policy")
Reported-by: Valdis Kletnieks <valdis.kletnieks@vt.edu>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
2018-03-30 12:20:32 +02:00
..
2018-02-27 11:01:39 -05:00
2018-02-19 14:19:09 -05:00
2018-03-04 13:04:22 -05:00
2018-02-28 11:43:28 -05:00
2017-05-21 13:42:36 -04:00
2018-03-04 13:04:22 -05:00
2018-03-01 13:13:23 -05:00
2018-03-04 13:04:22 -05:00
2018-03-01 13:13:23 -05:00
2018-02-28 11:43:28 -05:00
2018-03-04 13:04:22 -05:00
2016-12-25 17:21:23 +01:00
2018-02-19 14:19:11 -05:00
2018-02-28 11:43:28 -05:00
2018-02-19 14:19:11 -05:00
2017-09-01 18:35:23 -07:00
2018-02-27 11:01:38 -05:00
2018-02-19 14:19:10 -05:00
2015-11-03 10:52:13 -05:00
2018-01-16 15:01:33 -05:00
2018-02-19 14:19:11 -05:00
2018-02-28 11:43:28 -05:00