netns: bridge: allow unprivileged users add/delete mdb entry
authorGao feng <gaofeng@cn.fujitsu.com>
Thu, 31 Jan 2013 16:30:59 +0000 (16:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Feb 2013 18:12:16 +0000 (13:12 -0500)
commite4d343ea92bdce831f071d9706b2daf097e6d009
treefa654ed1f6524703d6c0c4dc541c39278333fd4e
parentbb12b8b26e197b21e3f28d5401bfee6f86a8d633
netns: bridge: allow unprivileged users add/delete mdb entry

since the mdb table is belong to bridge device,and the
bridge device can only be seen in one netns.
So it's safe to allow unprivileged user which is the
creator of userns and netns to modify the mdb table.

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