xprtrdma: Cancel refresh worker during buffer shutdown
authorChuck Lever <chuck.lever@oracle.com>
Tue, 11 Apr 2017 17:22:29 +0000 (13:22 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 25 Apr 2017 20:12:14 +0000 (16:12 -0400)
commit9378b274e1eb6925db315e345f48850d2d5d9789
tree2a3b4ada447a8504e7c3b7591f62fbefc0f75324
parent39da7c509acff13fc8cb12ec1bb20337c988ed36
xprtrdma: Cancel refresh worker during buffer shutdown

Trying to create MRs while the transport is being torn down can
cause a crash.

Fixes: e2ac236c0b65 ("xprtrdma: Allocate MRs on demand")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/verbs.c