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

Commit 78efe5f6 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

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

parents 1e31b99f 869d5333
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1536,6 +1536,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);