aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_prog_array_init.c
diff options
context:
space:
mode:
authorTatyana Nikolova <[email protected]>2022-04-25 13:17:01 -0500
committerJason Gunthorpe <[email protected]>2022-05-02 11:10:33 -0300
commit7b8943b821bafab492f43aafbd006b57c6b65845 (patch)
treebd6aae0162b6e6db60f7752f67590cdb6e74cc07 /tools/testing/selftests/bpf/progs/test_prog_array_init.c
parent570a4bf7440e9fb2a4164244a6bf60a46362b627 (diff)
RDMA/irdma: Flush iWARP QP if modified to ERR from RTR state
When connection establishment fails in iWARP mode, an app can drain the QPs and hang because flush isn't issued when the QP is modified from RTR state to error. Issue a flush in this case using function irdma_cm_disconn(). Update irdma_cm_disconn() to do flush when cm_id is NULL, which is the case when the QP is in RTR state and there is an error in the connection establishment. Fixes: b48c24c2d710 ("RDMA/irdma: Implement device supported verb APIs") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Tatyana Nikolova <[email protected]> Signed-off-by: Shiraz Saleem <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_prog_array_init.c')
0 files changed, 0 insertions, 0 deletions