netns: ebtable: allow unprivileged users to operate ebtables
authorGao feng <gaofeng@cn.fujitsu.com>
Thu, 31 Jan 2013 16:30:58 +0000 (16:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Feb 2013 18:12:16 +0000 (13:12 -0500)
commitbb12b8b26e197b21e3f28d5401bfee6f86a8d633
tree638936cc9d889184e8b359049edb397638ee817c
parentc5c351088ae76b46ae08dec1bb7f621e0721c78b
netns: ebtable: allow unprivileged users to operate ebtables

ebt_table is a private resource of netns, operating ebtables
in one netns will not affect other netns, we can allow the
creator user of userns and netns to change the ebtables.

Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/netfilter/ebtables.c