qcacld-3.0: Fix null pointer dereference in htt_rx_amsdu_rx_in_order_pop_ll()
Change-Id: Idde12e970e4915f038ed6bccf3a8d7012d7cff11
This commit is contained in:
parent
419feecce6
commit
c9d0aae63a
1 changed files with 3 additions and 2 deletions
|
@ -2439,6 +2439,7 @@ htt_rx_amsdu_rx_in_order_pop_ll(htt_pdev_handle pdev,
|
|||
paddr = htt_rx_in_ord_paddr_get(msg_word);
|
||||
(*head_msdu) = msdu = htt_rx_in_order_netbuf_pop(pdev, paddr);
|
||||
|
||||
if (head_mon_msdu)
|
||||
(*head_mon_msdu) = NULL;
|
||||
|
||||
if (qdf_unlikely(NULL == msdu)) {
|
||||
|
@ -2515,7 +2516,7 @@ htt_rx_amsdu_rx_in_order_pop_ll(htt_pdev_handle pdev,
|
|||
HTT_RX_STD_DESC_RESERVATION);
|
||||
qdf_nbuf_set_next(mon_msdu, NULL);
|
||||
|
||||
if (!(*head_mon_msdu)) {
|
||||
if (head_mon_msdu && !(*head_mon_msdu)) {
|
||||
*head_mon_msdu = mon_msdu;
|
||||
mon_prev = mon_msdu;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue