mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
qcacmn: Remove TSO check in nbuf reference tracking
Currently, QDF tracks nbuf reference of only TSO packets. Remove the TSO check to extend the supprt to all the packets. This will help in tracking enhanced multicast packets. Change-Id: Iacf7d4fc0492470d405d9644d480ad9463bcb543 CRs-Fixed: 2384334
This commit is contained in:
parent
a5a3a1e49d
commit
e587b2d1a3
1 changed files with 3 additions and 4 deletions
|
|
@ -2635,8 +2635,7 @@ void qdf_net_buf_debug_release_skb(qdf_nbuf_t net_buf)
|
|||
|
||||
next = qdf_nbuf_queue_next(ext_list);
|
||||
|
||||
if (qdf_nbuf_is_tso(ext_list) &&
|
||||
qdf_nbuf_get_users(ext_list) > 1) {
|
||||
if (qdf_nbuf_get_users(ext_list) > 1) {
|
||||
ext_list = next;
|
||||
continue;
|
||||
}
|
||||
|
|
@ -2645,7 +2644,7 @@ void qdf_net_buf_debug_release_skb(qdf_nbuf_t net_buf)
|
|||
ext_list = next;
|
||||
}
|
||||
|
||||
if (qdf_nbuf_is_tso(net_buf) && qdf_nbuf_get_users(net_buf) > 1)
|
||||
if (qdf_nbuf_get_users(net_buf) > 1)
|
||||
return;
|
||||
|
||||
qdf_net_buf_debug_delete_node(net_buf);
|
||||
|
|
@ -2677,7 +2676,7 @@ void qdf_nbuf_free_debug(qdf_nbuf_t nbuf, const char *func, uint32_t line)
|
|||
if (qdf_unlikely(!nbuf))
|
||||
return;
|
||||
|
||||
if (qdf_nbuf_is_tso(nbuf) && qdf_nbuf_get_users(nbuf) > 1)
|
||||
if (qdf_nbuf_get_users(nbuf) > 1)
|
||||
goto free_buf;
|
||||
|
||||
/* Remove SKB from internal QDF tracking table */
|
||||
|
|
|
|||
Loading…
Reference in a new issue