aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/sctp/sm_statefuns.c2
-rw-r--r--net/sctp/socket.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/net/sctp/sm_statefuns.c b/net/sctp/sm_statefuns.c
index f02ce3dddb7b..fd2dfdd7d7fd 100644
--- a/net/sctp/sm_statefuns.c
+++ b/net/sctp/sm_statefuns.c
@@ -1779,7 +1779,7 @@ static sctp_disposition_t sctp_sf_do_dupcook_d(const struct sctp_endpoint *ep,
1779 SCTP_COMM_UP, 0, 1779 SCTP_COMM_UP, 0,
1780 asoc->c.sinit_num_ostreams, 1780 asoc->c.sinit_num_ostreams,
1781 asoc->c.sinit_max_instreams, 1781 asoc->c.sinit_max_instreams,
1782 NULL, GFP_ATOMIC); 1782 NULL, GFP_ATOMIC);
1783 if (!ev) 1783 if (!ev)
1784 goto nomem; 1784 goto nomem;
1785 1785
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;