]> git.baikalelectronics.ru Git - kernel.git/commit
tproxy: Add missing CAP_NET_ADMIN check to ipv6 side
authorBalazs Scheidler <bazsi@balabit.hu>
Sat, 23 Oct 2010 04:48:14 +0000 (04:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 24 Oct 2010 23:07:50 +0000 (16:07 -0700)
commitf7b33b0fef307cb0e6bac03bb7d2d8ff347e24a9
tree2f4280710cc870e794f270c5978a957ae0c0fce6
parentc9d7c73ebcb9698e55cfc31cc960838678b51218
tproxy: Add missing CAP_NET_ADMIN check to ipv6 side

IP_TRANSPARENT requires root (more precisely CAP_NET_ADMIN privielges)
for IPV6.

However as I see right now this check was missed from the IPv6
implementation.

Acked-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ipv6_sockglue.c