]> 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)
commit4f15285fd59db9fd436bc9bf3d4208a64ce2dfa4
tree0f5d70078e2ca2a275c8f133e55335d0bca5a747
parent72da987518394030f81da8d80630e9404fef580b
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