summaryrefslogtreecommitdiffstats
path: root/net/sctp
diff options
context:
space:
mode:
Diffstat (limited to 'net/sctp')
-rw-r--r--net/sctp/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/socket.c b/net/sctp/socket.c
index 535659fdbaa1..d4bf2a78cb8a 100644
--- a/net/sctp/socket.c
+++ b/net/sctp/socket.c
@@ -3617,8 +3617,8 @@ SCTP_STATIC int sctp_ioctl(struct sock *sk, int cmd, unsigned long arg)
amount = skb->len;
}
rc = put_user(amount, (int __user *)arg);
- }
break;
+ }
default:
rc = -ENOIOCTLCMD;
break;