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)
commita76d1ca296a7eefba5d186014fc4cd14ee98c28b
tree0f5d70078e2ca2a275c8f133e55335d0bca5a747
parentc2b200e0bac0a0667f2de18e0806fcf71b745080
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