qcacmn: introduce simple nbuf_free API in RX path
simple Alloc is being used in RX path which avoids certain debug logic. during free of nbuf we should avoid this debug logic else it will report it as double free, this will be triggered only when debug is enabled Change-Id: Iadb40071fb733cc4de3291784df5075d5a099a8e
This commit is contained in:

committed by
Madan Koyyalamudi

parent
e4d9b0c2d7
commit
b265fdd7fc
@@ -5386,7 +5386,7 @@ static void dp_pdev_deinit(struct cdp_pdev *txrx_pdev, int force)
|
||||
curr_nbuf = pdev->invalid_peer_head_msdu;
|
||||
while (curr_nbuf) {
|
||||
next_nbuf = qdf_nbuf_next(curr_nbuf);
|
||||
qdf_nbuf_free(curr_nbuf);
|
||||
dp_rx_nbuf_free(curr_nbuf);
|
||||
curr_nbuf = next_nbuf;
|
||||
}
|
||||
pdev->invalid_peer_head_msdu = NULL;
|
||||
|
Reference in New Issue
Block a user