aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprt.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sunrpc/xprt.c')
-rw-r--r--net/sunrpc/xprt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/sunrpc/xprt.c b/net/sunrpc/xprt.c
index 31ef7dc7eed6..43fef7626442 100644
--- a/net/sunrpc/xprt.c
+++ b/net/sunrpc/xprt.c
@@ -630,8 +630,7 @@ void xprt_transmit(struct rpc_task *task)
630 case -ENOTCONN: 630 case -ENOTCONN:
631 return; 631 return;
632 default: 632 default:
633 if (xprt->stream) 633 break;
634 xprt_disconnect(xprt);
635 } 634 }
636 xprt_release_write(xprt, task); 635 xprt_release_write(xprt, task);
637 return; 636 return;