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

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

Merge "msm: ipa: Fix removing the length check"

parents 0f39b111 79b7cc92
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2844,8 +2844,7 @@ static int ipa3_wan_rx_pyld_hdlr(struct sk_buff *skb,

		IPA_STATS_INC_CNT(ipa3_ctx->stats.rx_pkts);
		if (status.endp_dest_idx >= ipa3_ctx->ipa_num_pipes ||
			status.endp_src_idx >= ipa3_ctx->ipa_num_pipes ||
			status.pkt_len > IPA_GENERIC_AGGR_BYTE_LIMIT * 1024) {
			status.endp_src_idx >= ipa3_ctx->ipa_num_pipes) {
			IPAERR("status fields invalid\n");
			WARN_ON(1);
			goto bail;