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:

committed by
Madan Koyyalamudi

parent
eb79d5b84e
commit
c5ab429e08
@@ -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
|
||||
|
Reference in New Issue
Block a user