Skip to content

Commit

Permalink
svcrdma: set XPT_CONG_CTRL flag for bc xprt
Browse files Browse the repository at this point in the history
Same change as Kinglong Mee's fix for the TCP backchannel service.

Fixes: 5283b03 ("nfs/nfsd/sunrpc: enforce transport...")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
  • Loading branch information
Chuck Lever authored and J. Bruce Fields committed Mar 29, 2017
1 parent 800a938 commit 23abec2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/sunrpc/xprtrdma/svc_rdma_transport.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ static struct svc_xprt *svc_rdma_bc_create(struct svc_serv *serv,
xprt = &cma_xprt->sc_xprt;

svc_xprt_init(net, &svc_rdma_bc_class, xprt, serv);
set_bit(XPT_CONG_CTRL, &xprt->xpt_flags);
serv->sv_bc_xprt = xprt;

dprintk("svcrdma: %s(%p)\n", __func__, xprt);
Expand Down

0 comments on commit 23abec2

Please sign in to comment.