summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprtrdma/transport.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2014-07-29 17:23:25 -0400
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2014-07-31 16:22:52 -0400
commit73806c8832b3438ef0439603dab1f3cfc61cb6cd (patch)
tree8d583ca98b5c68ab0fc89802295ab81bbaf0e590 /net/sunrpc/xprtrdma/transport.c
parent5fc83f470d8ada25927701512cf94a53dab6c4c8 (diff)
downloadlinux-73806c8832b3438ef0439603dab1f3cfc61cb6cd.tar.bz2
xprtrdma: Protect ia->ri_id when unmapping/invalidating MRs
Ensure ia->ri_id remains valid while invoking dma_unmap_page() or posting LOCAL_INV during a transport reconnect. Otherwise, ia->ri_id->device or ia->ri_id->qp is NULL, which triggers a panic. BugLink: https://bugzilla.linux-nfs.org/show_bug.cgi?id=259 Fixes: ec62f40 'xprtrdma: Ensure ia->ri_id->qp is not NULL when reconnecting' Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Tested-by: Steve Wise <swise@opengridcomputing.com> Tested-by: Shirley Ma <shirley.ma@oracle.com> Tested-by: Devesh Sharma <devesh.sharma@emulex.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc/xprtrdma/transport.c')
0 files changed, 0 insertions, 0 deletions