RDMA/i40iw: Add qp table lock around AE processing
QP may be freed during Async Event processing. Add a lock around QP table to prevent it. Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com> Signed-off-by: Faisal Latif <faisal.latif@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
此提交包含在:
@@ -254,6 +254,7 @@ struct i40iw_device {
|
||||
u32 arp_table_size;
|
||||
u32 next_arp_index;
|
||||
spinlock_t resource_lock; /* hw resource access */
|
||||
spinlock_t qptable_lock;
|
||||
u32 vendor_id;
|
||||
u32 vendor_part_id;
|
||||
u32 of_device_registered;
|
||||
|
新增問題並參考
封鎖使用者