diff options
Diffstat (limited to 'net/iucv')
-rw-r--r-- | net/iucv/af_iucv.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/iucv/af_iucv.c b/net/iucv/af_iucv.c index ee517108856e..9cfdaaddc5b2 100644 --- a/net/iucv/af_iucv.c +++ b/net/iucv/af_iucv.c | |||
@@ -937,6 +937,9 @@ static int iucv_sock_shutdown(struct socket *sock, int how) | |||
937 | 937 | ||
938 | lock_sock(sk); | 938 | lock_sock(sk); |
939 | switch (sk->sk_state) { | 939 | switch (sk->sk_state) { |
940 | case IUCV_DISCONN: | ||
941 | case IUCV_CLOSING: | ||
942 | case IUCV_SEVERED: | ||
940 | case IUCV_CLOSED: | 943 | case IUCV_CLOSED: |
941 | err = -ENOTCONN; | 944 | err = -ENOTCONN; |
942 | goto fail; | 945 | goto fail; |