mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
qcacld-3.0: Increase timeout for vdev_del_event
Race condition occurred as rx_thread did not get scheduled before timeout and gro flush happened in vdev context. At the same time, rx thread got scheduled and add skb to the napi queue resulting in crash. To fix this, Increase the timeout value so rx_thread gets time to wake up, do gro flush and reset the vdev_del_event. Change-Id: I2075eda91b1568cce3083869f510fc212dd721f8 CRs-Fixed: 2949803
This commit is contained in:
parent
0d55a68ce2
commit
24dbcc0108
1 changed files with 4 additions and 0 deletions
|
|
@ -25,7 +25,11 @@
|
|||
#include <cds_sched.h>
|
||||
|
||||
/* Timeout in ms to wait for a DP rx thread */
|
||||
#ifdef HAL_CONFIG_SLUB_DEBUG_ON
|
||||
#define DP_RX_THREAD_WAIT_TIMEOUT 4000
|
||||
#else
|
||||
#define DP_RX_THREAD_WAIT_TIMEOUT 2000
|
||||
#endif
|
||||
|
||||
#define DP_RX_TM_DEBUG 0
|
||||
#if DP_RX_TM_DEBUG
|
||||
|
|
|
|||
Loading…
Reference in a new issue