]> git.baikalelectronics.ru Git - kernel.git/commit
netns: bond: allow unprivileged users to control bond device
authorGao feng <gaofeng@cn.fujitsu.com>
Thu, 31 Jan 2013 16:31:00 +0000 (16:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Feb 2013 18:12:16 +0000 (13:12 -0500)
commit763fb220f72501c9a97688dda9eb9afc81e03e07
treea7e03a43de2ce9740eda716289fdbf65689b1e7a
parent4bd311bb0afb3872d2145bb0fe2b7f72e42f40f7
netns: bond: allow unprivileged users to control bond device

reduce the permission check of bond device's ioctl.
allow the userns root to control the bond device.

Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c