Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 166720
b: refs/heads/master
c: 4fdb78d
h: refs/heads/master
v: v3
  • Loading branch information
Andrew Morton authored and David S. Miller committed Oct 1, 2009
1 parent 88ed0f1 commit 4c7312b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 28ad3957b913855e8d41a27f7b90bed944809625
refs/heads/master: 4fdb78d3093a347456e108b77d56d493d29071b2
2 changes: 1 addition & 1 deletion trunk/net/ipv4/tcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -2047,7 +2047,7 @@ static int do_tcp_setsockopt(struct sock *sk, int level,
return -EINVAL;

val = strncpy_from_user(name, optval,
min(TCP_CA_NAME_MAX-1, optlen));
min_t(long, TCP_CA_NAME_MAX-1, optlen));
if (val < 0)
return -EFAULT;
name[val] = 0;
Expand Down

0 comments on commit 4c7312b

Please sign in to comment.