aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/sunrpc/xprtsock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/xprtsock.c b/net/sunrpc/xprtsock.c
index f05a56e597ef..fbc8725c20cb 100644
--- a/net/sunrpc/xprtsock.c
+++ b/net/sunrpc/xprtsock.c
@@ -726,10 +726,10 @@ static int xs_tcp_send_request(struct rpc_task *task)
726 dprintk("RPC: sendmsg returned unrecognized error %d\n", 726 dprintk("RPC: sendmsg returned unrecognized error %d\n",
727 -status); 727 -status);
728 case -ECONNRESET: 728 case -ECONNRESET:
729 case -EPIPE:
729 xs_tcp_shutdown(xprt); 730 xs_tcp_shutdown(xprt);
730 case -ECONNREFUSED: 731 case -ECONNREFUSED:
731 case -ENOTCONN: 732 case -ENOTCONN:
732 case -EPIPE:
733 clear_bit(SOCK_ASYNC_NOSPACE, &transport->sock->flags); 733 clear_bit(SOCK_ASYNC_NOSPACE, &transport->sock->flags);
734 } 734 }
735out: 735out: