From: Sergey Gorenko <sergeygo@xxxxxxxxxxxx> A new argument was added to rdma_reject() in Linux 5.8 WC-bug-id: https://jira.whamcloud.com/browse/LU-13761 Lustre-commit: 956deb0fe8195c7a0 ("LU-13761 o2ib: Fix compilation with MOFED 5.1") Signed-off-by: Sergey Gorenko <sergeygo@xxxxxxxxxxxx> Reviewed-on: https://review.whamcloud.com/39323 Reviewed-by: Neil Brown <neilb@xxxxxxx> Reviewed-by: Alexey Lyashkov <alexey.lyashkov@xxxxxxx> Reviewed-by: James Simmons <jsimmons@xxxxxxxxxxxxx> Reviewed-by: Oleg Drokin <green@xxxxxxxxxxxxx> Signed-off-by: James Simmons <jsimmons@xxxxxxxxxxxxx> --- net/lnet/klnds/o2iblnd/o2iblnd_cb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/net/lnet/klnds/o2iblnd/o2iblnd_cb.c b/net/lnet/klnds/o2iblnd/o2iblnd_cb.c index a88939e7..cb96282 100644 --- a/net/lnet/klnds/o2iblnd/o2iblnd_cb.c +++ b/net/lnet/klnds/o2iblnd/o2iblnd_cb.c @@ -2323,8 +2323,7 @@ static int kiblnd_map_tx(struct lnet_ni *ni, struct kib_tx *tx, { int rc; - rc = rdma_reject(cmid, rej, sizeof(*rej)); - + rc = rdma_reject(cmid, rej, sizeof(*rej), IB_CM_REJ_CONSUMER_DEFINED); if (rc) CWARN("Error %d sending reject\n", rc); } -- 1.8.3.1