]> git.baikalelectronics.ru Git - kernel.git/commit
vxlan: changelink: Delete remote after update
authorPetr Machata <petrm@mellanox.com>
Wed, 16 Jan 2019 23:06:43 +0000 (23:06 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Jan 2019 23:18:46 +0000 (15:18 -0800)
commit383beecd7ce1a2428251406ad7cb436bfb879942
tree82b07408b814d7901590d4b8e8900c94b5ebcae6
parent553a53d1283eda8d5f4db5a50f0eff169ee380d3
vxlan: changelink: Delete remote after update

If a change in remote address prompts a change in a default FDB entry,
that change might be vetoed. If that happens, it would then be necessary
to reinstate the already-removed default FDB entry corresponding to the
previous remote address.

Instead, arrange to have the previous address removed only after the
FDB is successfully vetted.

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