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)
commit387ff91184fc03e4b8c5818e8ef2928434bcee6d
treea7e03a43de2ce9740eda716289fdbf65689b1e7a
parente4d343ea92bdce831f071d9706b2daf097e6d009
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