]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
RDMA/iwcm: Use a default listen backlog if needed
authorSteve Wise <swise@opengridcomputing.com>
Fri, 25 Jul 2014 14:11:33 +0000 (09:11 -0500)
committerRoland Dreier <roland@purestorage.com>
Tue, 5 Aug 2014 14:33:24 +0000 (07:33 -0700)
commit2f0304d21867476394cd51a54e97f7273d112261
tree9149476b67dba506fbcebeec58f6f7788c00f274
parent64aa90f26c06e1cb2aacfb98a7d0eccfbd6c1a91
RDMA/iwcm: Use a default listen backlog if needed

If the user creates a listening cm_id with backlog of 0 the IWCM ends
up not allowing any connection requests at all.  The correct behavior
is for the IWCM to pick a default value if the user backlog parameter
is zero.

Lustre from version 1.8.8 onward uses a backlog of 0, which breaks
iwarp support without this fix.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/core/iwcm.c