Revision 07998281c268592963e1cd623fe6ab0270b65ae4 authored by Florian Westphal on 05 February 2021, 11:56:43 UTC, committed by Pablo Neira Ayuso on 08 February 2021, 23:04:14 UTC
The origin skip check needs to re-test the zone. Else, we might skip
a colliding tuple in the reply direction.

This only occurs when using 'directional zones' where origin tuples
reside in different zones but the reply tuples share the same zone.

This causes the new conntrack entry to be dropped at confirmation time
because NAT clash resolution was elided.

Fixes: 4e35c1cb9460240 ("netfilter: nf_nat: skip nat clash resolution for same-origin entries")
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
1 parent ce7536b
Raw File
Kconfig
config WARN_MISSING_DOCUMENTS

	bool "Warn if there's a missing documentation file"
	depends on COMPILE_TEST
	help
	   It is not uncommon that a document gets renamed.
	   This option makes the Kernel to check for missing dependencies,
	   warning when something is missing. Works only if the Kernel
	   is built from a git tree.

	   If unsure, select 'N'.

config WARN_ABI_ERRORS
	bool "Warn if there are errors at ABI files"
	depends on COMPILE_TEST
	help
	   The files under Documentation/ABI should follow what's
	   described at Documentation/ABI/README. Yet, as they're manually
	   written, it would be possible that some of those files would
	   have errors that would break them for being parsed by
	   scripts/get_abi.pl. Add a check to verify them.

	   If unsure, select 'N'.
back to top