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

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

Merge "msm: ipa4: Fix dangling pointer dereferencing after NAT del cmd"

parents f41455d1 545e03e8
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1516,6 +1516,8 @@ int ipa3_del_nat_table(struct ipa_ioc_nat_ipv6ct_table_del *del)
			ipa3_ctx->nat_mem.pdn_mem.size,
			ipa3_ctx->nat_mem.pdn_mem.base,
			ipa3_ctx->nat_mem.pdn_mem.phys_base);
		ipa3_ctx->nat_mem.pdn_mem.base = NULL;
		ipa3_ctx->nat_mem.dev.is_mem_allocated = false;
	}

	ipa3_nat_ipv6ct_free_mem(&ipa3_ctx->nat_mem.dev);