projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39da7c5
)
xprtrdma: Cancel refresh worker during buffer shutdown
author
Chuck Lever
<chuck.lever@oracle.com>
Tue, 11 Apr 2017 17:22:29 +0000
(13:22 -0400)
committer
Anna Schumaker
<Anna.Schumaker@Netapp.com>
Tue, 25 Apr 2017 20:12:14 +0000
(16:12 -0400)
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
patch
|
blob
|
blame
|
history
diff --git
a/net/sunrpc/xprtrdma/verbs.c
b/net/sunrpc/xprtrdma/verbs.c
index 3b332b395045b5b0ad07bc13a30db1420d7f7082..2e4fc1e4694713fecec4394b02b150686804295b 100644
(file)
--- a/
net/sunrpc/xprtrdma/verbs.c
+++ b/
net/sunrpc/xprtrdma/verbs.c
@@
-1037,6
+1037,7
@@
void
rpcrdma_buffer_destroy(struct rpcrdma_buffer *buf)
{
cancel_delayed_work_sync(&buf->rb_recovery_worker);
+ cancel_delayed_work_sync(&buf->rb_refresh_worker);
while (!list_empty(&buf->rb_recv_bufs)) {
struct rpcrdma_rep *rep;