aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/netif.c
diff options
context:
space:
mode:
authorSteve Wise <swise@opengridcomputing.com>2014-07-31 15:26:07 -0500
committerJ. Bruce Fields <bfields@redhat.com>2014-08-05 16:09:21 -0400
commitd1e458fe671baf1e60afafc88bda090202a412f1 (patch)
treec5a7a47ff5c5db1c8d7b66f15e56242bb9bb162e /security/selinux/netif.c
parentnfsd: add some comments to the nfsd4 object definitions (diff)
downloadlinux-dev-d1e458fe671baf1e60afafc88bda090202a412f1.tar.xz
linux-dev-d1e458fe671baf1e60afafc88bda090202a412f1.zip
svcrdma: remove rdma_create_qp() failure recovery logic
In svc_rdma_accept(), if rdma_create_qp() fails, there is useless logic to try and call rdma_create_qp() again with reduced sge depths. The assumption, I guess, was that perhaps the initial sge depths chosen were too big. However they initial depths are selected based on the rdma device attribute max_sge returned from ib_query_device(). If rdma_create_qp() fails, it would not be because the max_send_sge and max_recv_sge values passed in exceed the device's max. So just remove this code. Signed-off-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'security/selinux/netif.c')
0 files changed, 0 insertions, 0 deletions