• T
    vxlan fdb replace an existing entry · 906dc186
    Thomas Richter 提交于
    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: NThomas Richter <tmricht@linux.vnet.ibm.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    906dc186
vxlan.c 48.1 KB