aboutsummaryrefslogtreecommitdiffstats
path: root/net/rds/iw_send.c
diff options
context:
space:
mode:
authorSteve Wise <swise@opengridcomputing.com>2015-08-07 11:11:20 -0500
committerDoug Ledford <dledford@redhat.com>2015-08-30 18:08:46 -0400
commit9ac07501e1918b8d1140adcc360e8d8c7f5a2f7c (patch)
tree98de70b2b6d2a8325fa55cc46a69a1609ebad77f /net/rds/iw_send.c
parentxprtrdma, svcrdma: Convert to ib_alloc_mr (diff)
downloadlinux-dev-9ac07501e1918b8d1140adcc360e8d8c7f5a2f7c.tar.xz
linux-dev-9ac07501e1918b8d1140adcc360e8d8c7f5a2f7c.zip
svcrdma: limit FRMR page list lengths to device max
Svcrdma was incorrectly allocating fastreg MRs and page lists using RPCSVC_MAXPAGES, which can exceed the device capabilities. So limit the depth to the minimum of RPCSVC_MAXPAGES and xprt->sc_frmr_pg_list_len. Signed-off-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions