Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 322014
b: refs/heads/master
c: 9ad2de4
h: refs/heads/master
v: v3
  • Loading branch information
Mathias Krause authored and David S. Miller committed Aug 16, 2012
1 parent 7888132 commit 9858604
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3f68ba07b1da811bf383b4b701b129bfcb2e4988
refs/heads/master: 9ad2de43f1aee7e7274a4e0d41465489299e344b
1 change: 1 addition & 0 deletions trunk/net/bluetooth/rfcomm/sock.c
Original file line number Diff line number Diff line change
Expand Up @@ -822,6 +822,7 @@ static int rfcomm_sock_getsockopt(struct socket *sock, int level, int optname, c
}

sec.level = rfcomm_pi(sk)->sec_level;
sec.key_size = 0;

len = min_t(unsigned int, len, sizeof(sec));
if (copy_to_user(optval, (char *) &sec, len))
Expand Down

0 comments on commit 9858604

Please sign in to comment.