[ovs-git] [openvswitch/ovs] 8416e5: tnl-neigh-cache: Purge learnt neighbors when port/...

Vasu Dasari noreply at github.com
Mon Jul 22 16:30:02 UTC 2019

  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 8416e50f8de6660422462582f9bff40403028720
  Author: Vasu Dasari <vdasari at gmail.com>
  Date:   2019-07-22 (Mon, 22 Jul 2019)

  Changed paths:
    M lib/tnl-neigh-cache.c
    M lib/tnl-neigh-cache.h
    M ofproto/ofproto-dpif-xlate.c
    M tests/tunnel.at

  Log Message:
  tnl-neigh-cache: Purge learnt neighbors when port/bridge is deleted

Say an ARP entry is learnt on a OVS port and when such a port is deleted,
learnt entry should be removed from the port. It would have be aged out after
ARP ageout time. This code will clean up immediately.

Added test case(tunnel - neighbor entry add and deletion) in tunnel.at, to
verify neighbors are added and removed on deletion of a ports and bridges.

Discussion for this addition is at:

Signed-off-by: Vasu Dasari <vdasari at gmail.com>
Reviewed-by: Flavio Fernandes <flavio at flaviof.com>
Reviewed-by: Ben Pfaff <blp at ovn.org>
Signed-off-by: Ben Pfaff <blp at ovn.org>

More information about the git mailing list