qcacmn: Use global variable for cpumask
Local variable is used to store cpumask to send it to irq_set_affinity_hint and qdf_dev_set_irq_affinity APIs. This memory is used by the kernel later outside the current contect resulting in invalid memory access. Fix this by using global variables to store cpumask. Change-Id: I086f40bf1b3499d2c2ccb1ce18140b2dc2761d04 CRs-Fixed: 2373548
此提交包含在:
@@ -190,6 +190,7 @@ struct qca_napi_info {
|
||||
uint8_t id;
|
||||
uint8_t cpu;
|
||||
int irq;
|
||||
cpumask_t cpumask;
|
||||
struct qca_napi_stat stats[NR_CPUS];
|
||||
#ifdef RECEIVE_OFFLOAD
|
||||
/* will only be present for data rx CE's */
|
||||
|
新增問題並參考
封鎖使用者