Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 189865
b: refs/heads/master
c: 4ffa870
h: refs/heads/master
i:
  189863: cc0ac0f
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Apr 13, 2010
1 parent e9c5dac commit 4337ea1
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: dac876193cd79ced36d0462749ea47c05844fb49
refs/heads/master: 4ffa87012efd7b664762b579213d4663560ef4a3
2 changes: 1 addition & 1 deletion trunk/net/can/raw.c
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ static int raw_setsockopt(struct socket *sock, int level, int optname,
return -EFAULT;
}
} else if (count == 1) {
if (copy_from_user(&sfilter, optval, optlen))
if (copy_from_user(&sfilter, optval, sizeof(sfilter)))
return -EFAULT;
}

Expand Down

0 comments on commit 4337ea1

Please sign in to comment.