diff options
author | Steve Wise <swise@opengridcomputing.com> | 2015-08-07 11:11:20 -0500 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-08-30 18:08:46 -0400 |
commit | 9ac07501e1918b8d1140adcc360e8d8c7f5a2f7c (patch) | |
tree | 98de70b2b6d2a8325fa55cc46a69a1609ebad77f /net/rds | |
parent | 0410e38eca85e042f5d5a281dbcc792db701ed44 (diff) | |
download | op-kernel-dev-9ac07501e1918b8d1140adcc360e8d8c7f5a2f7c.zip op-kernel-dev-9ac07501e1918b8d1140adcc360e8d8c7f5a2f7c.tar.gz |
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 'net/rds')
0 files changed, 0 insertions, 0 deletions