Skip to content

Commit 58bd665

Browse files
chuckleveramschuma-ntap
authored andcommitted
xprtrdma: Restore wake-up-all to rpcrdma_cm_event_handler()
Commit e28ce90 ("xprtrdma: kmalloc rpcrdma_ep separate from rpcrdma_xprt") erroneously removed a xprt_force_disconnect() call from the "transport disconnect" path. The result was that the client no longer responded to server-side disconnect requests. Restore that call. Fixes: e28ce90 ("xprtrdma: kmalloc rpcrdma_ep separate from rpcrdma_xprt") Signed-off-by: Chuck Lever <[email protected]> Signed-off-by: Anna Schumaker <[email protected]>
1 parent ae83d0b commit 58bd665

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

net/sunrpc/xprtrdma/verbs.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ rpcrdma_cm_event_handler(struct rdma_cm_id *id, struct rdma_cm_event *event)
289289
case RDMA_CM_EVENT_DISCONNECTED:
290290
ep->re_connect_status = -ECONNABORTED;
291291
disconnected:
292+
xprt_force_disconnect(xprt);
292293
return rpcrdma_ep_destroy(ep);
293294
default:
294295
break;

0 commit comments

Comments
 (0)