aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprtsock.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sunrpc/xprtsock.c')
-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 6e6967d5400e..7e2dd0d69f1b 100644
--- a/net/sunrpc/xprtsock.c
+++ b/net/sunrpc/xprtsock.c
@@ -737,10 +737,10 @@ static int xs_tcp_send_request(struct rpc_task *task)
737 dprintk("RPC: sendmsg returned unrecognized error %d\n", 737 dprintk("RPC: sendmsg returned unrecognized error %d\n",
738 -status); 738 -status);
739 case -ECONNRESET: 739 case -ECONNRESET:
740 case -EPIPE:
741 xs_tcp_shutdown(xprt); 740 xs_tcp_shutdown(xprt);
742 case -ECONNREFUSED: 741 case -ECONNREFUSED:
743 case -ENOTCONN: 742 case -ENOTCONN:
743 case -EPIPE:
744 clear_bit(SOCK_ASYNC_NOSPACE, &transport->sock->flags); 744 clear_bit(SOCK_ASYNC_NOSPACE, &transport->sock->flags);
745 } 745 }
746 746