summaryrefslogtreecommitdiff
path: root/tests/ovsdb-replication.at
diff options
context:
space:
mode:
authorSurya Rudra <rudrasurya.r@altencalsoftlabs.com>2019-10-21 12:42:02 +0530
committerBen Pfaff <blp@ovn.org>2019-10-24 12:49:57 -0700
commitf04977508f97ffedea9c3588dbd7d57ed288e7fd (patch)
treeee248c0f6307affe85af14f392437064f6e91087 /tests/ovsdb-replication.at
parent49df3c0fe779d34d19b0e1b150cdaa926f2bb8e9 (diff)
downloadopenvswitch-f04977508f97ffedea9c3588dbd7d57ed288e7fd.tar.gz
lldp: Fix for OVS crashes when a LLDP-enabled port is deleted
Issue: When LLDP is enabled on a port, a structure to hold LLDP related state is created and that structure has a reference to the port. The ofproto monitor thread accesses the LLDP structure to periodically send packets over the associated port. When the port is deleted, the LLDP structure is not cleaned up and it continues to refer to the deleted port. When the monitor thread attempts to access the deleted port OVS crashes. Crash can happen with bridge delete and bond delete also. Fix: Remove all references to the LLDP structure and free it when the port is deleted. Signed-off-by: Surya Rudra <rudrasurya.r@altencalsoftlabs.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'tests/ovsdb-replication.at')
0 files changed, 0 insertions, 0 deletions