]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
vxlan: Have vxlan_fdb_replace() save original rdst value
authorPetr Machata <petrm@mellanox.com>
Wed, 16 Jan 2019 23:06:34 +0000 (23:06 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Jan 2019 23:18:46 +0000 (15:18 -0800)
commitccdfd4f71d10937504cac8663cb1782063319e39
treeb7f1f4f3660164c11de7fada7c0d124e2f3597f1
parenta76d1ca296a7eefba5d186014fc4cd14ee98c28b
vxlan: Have vxlan_fdb_replace() save original rdst value

To enable rollbacks after vetoed FDB updates, extend vxlan_fdb_replace()
to take an additional argument where it should store the original values
of a modified rdst. Update the sole caller.

The following patch will make use of the saved value.

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