Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 278260
b: refs/heads/master
c: 0f20f5a
h: refs/heads/master
v: v3
  • Loading branch information
Ralf Baechle authored and David S. Miller committed Nov 29, 2011
1 parent b96311a commit 15e02d4
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 10cae1c8dfbbdee55bdfcb7034f4c2c1197dc0a4
refs/heads/master: 0f20f5a7de1ee48ced284e960828017cc2f5d52b
3 changes: 2 additions & 1 deletion trunk/net/netrom/af_netrom.c
Original file line number Diff line number Diff line change
Expand Up @@ -1244,7 +1244,8 @@ static int nr_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
case SIOCADDRT:
case SIOCDELRT:
case SIOCNRDECOBS:
if (!capable(CAP_NET_ADMIN)) return -EPERM;
if (!capable(CAP_NET_ADMIN))
return -EPERM;
return nr_rt_ioctl(cmd, argp);

default:
Expand Down

0 comments on commit 15e02d4

Please sign in to comment.