Commit 0572ecc
RDMA/hns: Fix accessing invalid dip_ctx during destroying QP
If it fails to modify QP to RTR, dip_ctx will not be attached. And
during detroying QP, the invalid dip_ctx pointer will be accessed.
Fixes: faa6244 ("RDMA/hns: Fix different dgids mapping to the same dip_idx")
Signed-off-by: Chengchang Tang <[email protected]>
Signed-off-by: Junxian Huang <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Leon Romanovsky <[email protected]>1 parent 8673a6c commit 0572ecc
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5619 | 5619 | | |
5620 | 5620 | | |
5621 | 5621 | | |
| 5622 | + | |
| 5623 | + | |
| 5624 | + | |
5622 | 5625 | | |
5623 | 5626 | | |
5624 | 5627 | | |
| |||
0 commit comments