aboutsummaryrefslogtreecommitdiffstats
path: root/net/iucv
diff options
context:
space:
mode:
Diffstat (limited to 'net/iucv')
-rw-r--r--net/iucv/af_iucv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/iucv/af_iucv.c b/net/iucv/af_iucv.c
index d79f5fb695b8..a089b6b91650 100644
--- a/net/iucv/af_iucv.c
+++ b/net/iucv/af_iucv.c
@@ -1542,7 +1542,8 @@ static int iucv_sock_shutdown(struct socket *sock, int how)
1542 1542
1543 sk->sk_shutdown |= how; 1543 sk->sk_shutdown |= how;
1544 if (how == RCV_SHUTDOWN || how == SHUTDOWN_MASK) { 1544 if (how == RCV_SHUTDOWN || how == SHUTDOWN_MASK) {
1545 if (iucv->transport == AF_IUCV_TRANS_IUCV) { 1545 if ((iucv->transport == AF_IUCV_TRANS_IUCV) &&
1546 iucv->path) {
1546 err = pr_iucv->path_quiesce(iucv->path, NULL); 1547 err = pr_iucv->path_quiesce(iucv->path, NULL);
1547 if (err) 1548 if (err)
1548 err = -ENOTCONN; 1549 err = -ENOTCONN;