Skip to content
Snippets Groups Projects
Commit e4288d0f authored by Nicolas Morey-Chaisemartin's avatar Nicolas Morey-Chaisemartin Committed by 谢秀奇
Browse files

xprtrdma: Make sure Send CQ is allocated on an existing compvec


mainline inclusion
from mainline-v5.0-rc7
commit a4cb5bdb
category: bugfix
bugzilla: 10737
CVE: NA

-------------------------------------------------

Make sure the device has at least 2 completion vectors
before allocating to compvec#1

Fixes: a4699f56 (xprtrdma: Put Send CQ in IB_POLL_WORKQUEUE mode)
Signed-off-by: default avatarNicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
Reviewed-by: default avatarChuck Lever <chuck.lever@oracle.com>
Signed-off-by: default avatarAnna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: default avatarLin Miaohe <linmiaohe@huawei.com>
Reviewed-by: default avatarMao Wenan <maowenan@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 23717b34
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment