Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 341698
b: refs/heads/master
c: 3b1a914
h: refs/heads/master
v: v3
  • Loading branch information
Krzysztof Mazur authored and David Woodhouse committed Nov 28, 2012
1 parent 4b23d73 commit c06782c
Show file tree
Hide file tree
Showing 2 changed files with 3 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: ec809bd817dfa1905283468e4c813684ed4efe78
refs/heads/master: 3b1a914595f3f9beb9e38ff3ddc7bdafa092ba22
2 changes: 2 additions & 0 deletions trunk/net/atm/pppoatm.c
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,8 @@ static int pppoatm_ioctl(struct socket *sock, unsigned int cmd,
return -ENOIOCTLCMD;
if (!capable(CAP_NET_ADMIN))
return -EPERM;
if (sock->state != SS_CONNECTED)
return -EINVAL;
return pppoatm_assign_vcc(atmvcc, argp);
}
case PPPIOCGCHAN:
Expand Down

0 comments on commit c06782c

Please sign in to comment.