Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 218399
b: refs/heads/master
c: b889416
h: refs/heads/master
i:
  218397: f7c9239
  218395: c1c7160
  218391: ee6949d
  218383: 03c17f8
  218367: 31b7343
v: v3
  • Loading branch information
Balazs Scheidler authored and David S. Miller committed Oct 24, 2010
1 parent 77ebcd2 commit f41d4b6
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 0561cf3dbff1f37c0d374fb1b824ef3a117c85e0
refs/heads/master: b889416b54c90f59276537debd92cb4e84b5f550
4 changes: 4 additions & 0 deletions trunk/net/ipv6/ipv6_sockglue.c
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,10 @@ static int do_ipv6_setsockopt(struct sock *sk, int level, int optname,
break;

case IPV6_TRANSPARENT:
if (!capable(CAP_NET_ADMIN)) {
retv = -EPERM;
break;
}
if (optlen < sizeof(int))
goto e_inval;
/* we don't have a separate transparent bit for IPV6 we use the one in the IPv4 socket */
Expand Down

0 comments on commit f41d4b6

Please sign in to comment.