]> git.baikalelectronics.ru Git - kernel.git/commit
netns: fdb: allow unprivileged users to add/del fdb entries
authorGao feng <gaofeng@cn.fujitsu.com>
Thu, 31 Jan 2013 16:30:57 +0000 (16:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Feb 2013 18:12:16 +0000 (13:12 -0500)
commit1c21a4dd2ca0ea25ba2c2c237397d90ec4516a55
tree00fb5fb0194caa7ea89beb53621de4fe65adb68f
parent5f93ab03e2ed85dc9c55fcf99696c62a1699997b
netns: fdb: allow unprivileged users to add/del fdb entries

Right now,only ixgdb,macvlan,vxlan and bridge implement
fdb_add/fdb_del operations.

these operations only operate the private data of net
device. So allowing the unprivileged users who creates
the userns and netns to add/del fdb entries will do no
harm to other netns.

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