]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd7b8da09c9acfa6da33cb0474b6b9833b1455a7e
tree638936cc9d889184e8b359049edb397638ee817c
parent1c21a4dd2ca0ea25ba2c2c237397d90ec4516a55
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