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

Commit aa3d4753 authored by Mohammed Javid's avatar Mohammed Javid
Browse files

msm: ipa3: Fix to use after free issue



Trying access the already freed pointer.
Added code changes to fix use after free issue.

Change-Id: I1c000a6c054b65f6ff703c727909e57369f617f2
Acked-by: default avatarAshok Vuyyuru <avuyyuru@qti.qualcomm.com>
Signed-off-by: default avatarMohammed Javid <mjavid@codeaurora.org>
parent 7e3149cb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2327,6 +2327,7 @@ static int ipa3_lan_rx_pyld_hdlr(struct sk_buff *skb,
			IPA_STATS_DEC_CNT(ipa3_ctx->stats.rx_excp_pkts
				[IPAHAL_PKT_STATUS_EXCEPTION_NONE]);
		}
		tx_pkt = NULL;
	};

	return rc;