]> 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)
commita548d5029a9e24f107450791e8a8003715c7eea4
treeea928e4294da2a4d38e547679a24cfbecee38de5
parent5ebffc8fa764f355f64ce590260a4c6c453717b0
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