diff options
Diffstat (limited to 'net/sctp/socket.c')
-rw-r--r-- | net/sctp/socket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sctp/socket.c b/net/sctp/socket.c index b1917f68723c..ee88f2ea5101 100644 --- a/net/sctp/socket.c +++ b/net/sctp/socket.c | |||
@@ -4803,7 +4803,7 @@ static int sctp_getsockopt_partial_delivery_point(struct sock *sk, int len, | |||
4803 | char __user *optval, | 4803 | char __user *optval, |
4804 | int __user *optlen) | 4804 | int __user *optlen) |
4805 | { | 4805 | { |
4806 | u32 val; | 4806 | u32 val; |
4807 | 4807 | ||
4808 | if (len < sizeof(u32)) | 4808 | if (len < sizeof(u32)) |
4809 | return -EINVAL; | 4809 | return -EINVAL; |
@@ -4827,7 +4827,7 @@ static int sctp_getsockopt_maxburst(struct sock *sk, int len, | |||
4827 | char __user *optval, | 4827 | char __user *optval, |
4828 | int __user *optlen) | 4828 | int __user *optlen) |
4829 | { | 4829 | { |
4830 | int val; | 4830 | int val; |
4831 | 4831 | ||
4832 | if (len < sizeof(int)) | 4832 | if (len < sizeof(int)) |
4833 | return -EINVAL; | 4833 | return -EINVAL; |