From f809b0f4c8fbabb0991edce533208814dedcff89 Mon Sep 17 00:00:00 2001 From: Artem Polyakov Date: Wed, 27 Sep 2017 16:36:52 +0700 Subject: [PATCH] fix #5 --- src/uct/ib/rc/accel/rc_mlx5_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uct/ib/rc/accel/rc_mlx5_common.h b/src/uct/ib/rc/accel/rc_mlx5_common.h index 3856b6e07df..e41cd9667e3 100644 --- a/src/uct/ib/rc/accel/rc_mlx5_common.h +++ b/src/uct/ib/rc/accel/rc_mlx5_common.h @@ -205,7 +205,7 @@ uct_rc_mlx5_iface_common_poll_rx(uct_rc_mlx5_iface_common_t *mlx5_common_iface, if (status != UCS_OK) { udesc = (char*)desc + rc_iface->super.config.rx_headroom_offset; uct_recv_desc(udesc) = &rc_iface->super.release_desc; - seg->srq.desc = NULL; + mlx5_common_iface->rx.desc[wqe_ctr] = NULL; } if (wqe_ctr == ((mlx5_common_iface->rx.srq.free_idx + 1) & mlx5_common_iface->rx.srq.mask)) { ++mlx5_common_iface->rx.srq.free_idx;