Browse Source

qcacmn: clear qdf_net_buf_track_free_list in nbuf memory manager destroy

qdf_net_buf_track_free_list not cleared in nbuf memory
manager destroy API leads to crash in reprobe case.

clear qdf_net_buf_track_free_list in nbuf memory
manager destroy.

CRs-Fixed: 2029297
Change-Id: I4d652c38a23f0e31ff21321692bcecc9456bf03a
SaidiReddy Yenuga 8 years ago
parent
commit
674c4a0650
1 changed files with 1 additions and 0 deletions
  1. 1 0
      qdf/linux/src/qdf_nbuf.c

+ 1 - 0
qdf/linux/src/qdf_nbuf.c

@@ -1335,6 +1335,7 @@ static void qdf_nbuf_track_memory_manager_destroy(void)
 
 	spin_unlock_irqrestore(&qdf_net_buf_track_free_list_lock, irq_flag);
 	kmem_cache_destroy(nbuf_tracking_cache);
+	qdf_net_buf_track_free_list = NULL;
 }
 
 /**