summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2015-03-30 14:34:12 -0400
committerLuis Henriques <luis.henriques@canonical.com>2015-05-06 11:33:03 +0100
commit1658f40e822ef5f5b737f12fcf8a2549187d7ef4 (patch)
tree1ca5a4d4603483d76f3d9e055998afe5cfc8c94a /include/linux
parent08ba9e1cb714cdee53e6deb793abbfb1ad99a477 (diff)
xprtrdma: Prevent infinite loop in rpcrdma_ep_create()
commit 41f97028969e4c88efa5fcf58bc6125210413a6d upstream. If a provider advertizes a zero max_fast_reg_page_list_len, FRWR depth detection loops forever. Instead of just failing the mount, try other memory registration modes. Fixes: 0fc6c4e7bb28 ("xprtrdma: mind the device's max fast . . .") Reported-by: Devesh Sharma <Devesh.Sharma@Emulex.Com> Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Tested-by: Devesh Sharma <Devesh.Sharma@Emulex.Com> Tested-by: Meghana Cheripady <Meghana.Cheripady@Emulex.Com> Tested-by: Veeresh U. Kokatnur <veereshuk@chelsio.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com> [ luis: backported to 3.16: - devattr struct isn't a pointer ] Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions