Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 29eefdb3 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "net: netfilter: support for multiple MASQUERADE"

parents 7816e278 0df7be2a
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -388,7 +388,14 @@ nf_nat_setup_info(struct nf_conn *ct,

	NF_CT_ASSERT(maniptype == NF_NAT_MANIP_SRC ||
		     maniptype == NF_NAT_MANIP_DST);
#if defined(CONFIG_IP_NF_TARGET_NATTYPE_MODULE)
	if (nf_nat_initialized(ct, maniptype)) {
		WARN_ON_ONCE(1);
		return NF_ACCEPT;
	}
#else
	BUG_ON(nf_nat_initialized(ct, maniptype));
#endif

	/* What we've got will look like inverse of reply. Normally
	 * this is what is in the conntrack, except for prior