msm: ipa3: Adding changes to check pointer null or not

Adding changes to check page replish pointer null or not.

Signed-off-by: Sivakanth Vaka <quic_svaka@quicinc.com>
(cherry picked from commit 3099fdda59d009d3807eb4922d905d331d3447d7)

Change-Id: Ic6235569619ef634021f92abb668411220e0bf67
This commit is contained in:
Ashok Vuyyuru
2022-04-12 13:11:24 +05:30
bovenliggende 1c9e811cbf
commit 899b2c58ea

Bestand weergeven

@@ -1394,6 +1394,8 @@ static void ipa3_tasklet_find_freepage(unsigned long data)
sys = (struct ipa3_sys_context *)data;
if(sys->page_recycle_repl == NULL)
return;
INIT_LIST_HEAD(&temp_head);
spin_lock_bh(&sys->common_sys->spinlock);
list_for_each_entry_safe(rx_pkt, tmp,