]> asedeno.scripts.mit.edu Git - linux.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)
commit1cdc98c2711e42d956c4a5ce525d3f8e90c58f9e
tree82b07408b814d7901590d4b8e8900c94b5ebcae6
parent038a5a99e95214d0549401c74711152d9869ead3
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