Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 135034
b: refs/heads/master
c: d212318
h: refs/heads/master
v: v3
  • Loading branch information
Wei Yongjun authored and David S. Miller committed Mar 3, 2009
1 parent bea38bd commit 0c37ef0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 906f8257eedf64c9f4da0adfacca76d06d8e8cb0
refs/heads/master: d212318c9d1b11ff44b57f90b4f9d9c9b31a6ced
6 changes: 0 additions & 6 deletions trunk/net/sctp/socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -3069,9 +3069,6 @@ static int sctp_setsockopt_maxburst(struct sock *sk,
int val;
int assoc_id = 0;

if (optlen < sizeof(int))
return -EINVAL;

if (optlen == sizeof(int)) {
printk(KERN_WARNING
"SCTP: Use of int in max_burst socket option deprecated\n");
Expand Down Expand Up @@ -5283,9 +5280,6 @@ static int sctp_getsockopt_maxburst(struct sock *sk, int len,
struct sctp_sock *sp;
struct sctp_association *asoc;

if (len < sizeof(int))
return -EINVAL;

if (len == sizeof(int)) {
printk(KERN_WARNING
"SCTP: Use of int in max_burst socket option deprecated\n");
Expand Down

0 comments on commit 0c37ef0

Please sign in to comment.