]> git.baikalelectronics.ru Git - kernel.git/commit
vxlan: Split vxlan_fdb_update() in two
authorPetr Machata <petrm@mellanox.com>
Wed, 16 Jan 2019 23:06:32 +0000 (23:06 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Jan 2019 23:18:46 +0000 (15:18 -0800)
commitf158aacce1d3281e4c50dd7efd509761bf52d25a
tree0f5d70078e2ca2a275c8f133e55335d0bca5a747
parentdd5e96ed3fbe0112381f0c25ec4c35689640de19
vxlan: Split vxlan_fdb_update() in two

In order to make it easier to implement rollbacks after FDB update
vetoing, separate the FDB update code to two parts: one that deals with
updates of existing FDB entries, and one that creates new entries.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c