소스 검색

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,