]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - net/bridge/br.c
net: bridge: Add support for calling FDB external learning under rcu
authorArkadi Sharshevsky <arkadis@mellanox.com>
Thu, 8 Jun 2017 06:44:12 +0000 (08:44 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Jun 2017 18:16:24 +0000 (14:16 -0400)
commit0baa10fff2c8a8a0e3bca8fb43112ed93c179c38
tree9ba7694bb4d36536b1a0ba8efb0658daacc7723e
parent3922285d96e79231817227439c214728edfbe406
net: bridge: Add support for calling FDB external learning under rcu

This is done as a preparation to moving the switchdev notifier chain
to be atomic. The FDB external learning should be called under rtnl
or rcu.

Signed-off-by: Arkadi Sharshevsky <arkadis@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br.c
net/bridge/br_fdb.c
net/bridge/br_private.h