mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
qcacld-3.0: Set skb cb for rx peer cache frames
There is a race condition while flushing the rx cache frames from MC thread and same time from RX thread. So for rx cache frames set QDF_NBUF_CB_RX_PEER_CACHED_FRM to avoid using gro receive and use skb receive with local bh disable. Change-Id: I5ece8ddf876d27ad3d24b0ba751fe3e3886608e2 CRs-Fixed: 2378342
This commit is contained in:
parent
894345887b
commit
dd5a74a70f
1 changed files with 1 additions and 0 deletions
|
|
@ -4646,6 +4646,7 @@ static QDF_STATUS ol_txrx_enqueue_rx_frames(
|
|||
|
||||
buf = rx_buf_list;
|
||||
while (buf) {
|
||||
QDF_NBUF_CB_RX_PEER_CACHED_FRM(buf) = 1;
|
||||
next_buf = qdf_nbuf_queue_next(buf);
|
||||
cache_buf = qdf_mem_malloc(sizeof(*cache_buf));
|
||||
if (!cache_buf) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue