]> git.baikalelectronics.ru Git - kernel.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)
commita573378c0c6cd6d979ee2bb6d4d3a066c24f0e1a
treeea928e4294da2a4d38e547679a24cfbecee38de5
parenta739494f62feeff11469033586378c617f6cb02d
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