Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 175521
b: refs/heads/master
c: 3dc7893
h: refs/heads/master
i:
  175519: 6d7f19f
v: v3
  • Loading branch information
David S. Miller committed Dec 9, 2009
1 parent d568567 commit 95a369a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 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: e61444d9209821469ed0d5a9128dcf2e494533ea
refs/heads/master: 3dc789320e1b310cb505dcd94512c279abcd5e1c
5 changes: 0 additions & 5 deletions trunk/net/ipv4/tcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -2540,11 +2540,6 @@ static int do_tcp_getsockopt(struct sock *sk, int level,
ctd.tcpct_cookie_desired = cvp->cookie_desired;
ctd.tcpct_s_data_desired = cvp->s_data_desired;

/* Cookie(s) saved, return as nonce */
if (sizeof(ctd.tcpct_value) < cvp->cookie_pair_size) {
/* impossible? */
return -EINVAL;
}
memcpy(&ctd.tcpct_value[0], &cvp->cookie_pair[0],
cvp->cookie_pair_size);
ctd.tcpct_used = cvp->cookie_pair_size;
Expand Down

0 comments on commit 95a369a

Please sign in to comment.