
Fix the following 2 memory leaks in Rx monitor path: 1. When MPDU queue is empty and MON_BUF_ADDR_TLV is received, then free page fragment memory. 2. In case of small size packets, 1 MPDU can have more than 2*QDF_NBUF_MAX_FRAGS fragments wherein each nbuf can have maximum of QDF_NBUF_MAX_FRAGS frags. In this case, add the frags to nbuf in the following way. parent_nbuf (QDF_NBUF_MAX_FRAGS frags attached) | | (fraglist) | ----> tmp_nbuf1 (QDF_NBUF_MAX_FRAGS frags attached) ----> tmp_nbuf2 (next) Change-Id: I54e8162bf0b9da8629a3c80d123421fbeaf8df11 CRs-Fixed: 3453676
145 KiB
145 KiB