ソースを参照

qcacmn: Fix kernel panic issue in multicast enhancement code

The kernel panic is seen because wrong variable was used , and this
variable was getting de-referenced without initialization.
Fix this by using the correct variable

Change-Id: I1f03c724f3ecba44a8ce0bc94242f2acafa5649d
CRs-Fixed: 2166423
Pamidipati, Vijay 7 年 前
コミット
fb0d54d00c
1 ファイル変更1 行追加1 行削除
  1. 1 1
      dp/wifi3.0/dp_tx.c

+ 1 - 1
dp/wifi3.0/dp_tx.c

@@ -2957,7 +2957,7 @@ static inline void dp_tx_me_mem_free(struct dp_pdev *pdev,
 	while (seg_info_head) {
 		nbuf = seg_info_head->nbuf;
 		mc_uc_buf = (struct dp_tx_me_buf_t *)
-			seg_info_new->frags[0].vaddr;
+			seg_info_head->frags[0].vaddr;
 		phy_addr = seg_info_head->frags[0].paddr_hi;
 		phy_addr =  (phy_addr << 32) | seg_info_head->frags[0].paddr_lo;
 		qdf_mem_unmap_nbytes_single(pdev->soc->osdev,