]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
vxlan fdb replace an existing entry
authorThomas Richter <tmricht@linux.vnet.ibm.com>
Fri, 19 Jul 2013 15:20:07 +0000 (17:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Jul 2013 23:36:03 +0000 (16:36 -0700)
commit906dc186e0202bbffe8b3f69caddeda4b0a17420
treeea928e4294da2a4d38e547679a24cfbecee38de5
parent20ff44aad10b82aa173c1de253dded5590a9d10b
vxlan fdb replace an existing entry

Add support to replace an existing entry found in the
vxlan fdb database. The entry in question is identified
by its unicast mac address and the destination information
is changed. If the entry is not found, it is added in the
forwarding database. This is similar to changing an entry
in the neighbour table.

Multicast mac addresses can not be changed with the replace
option.

This is useful for virtual machine migration when the
destination of a target virtual machine changes. The replace
feature can be used instead of delete followed by add.

Resubmitted because net-next was closed last week.

Signed-off-by: Thomas Richter <tmricht@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c