]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
ml2: gre, vxlan type driver can leak segment_id
authorIsaku Yamahata <isaku.yamahata@intel.com>
Thu, 12 Dec 2013 09:47:37 +0000 (18:47 +0900)
committerIsaku Yamahata <isaku.yamahata@intel.com>
Tue, 17 Dec 2013 01:10:43 +0000 (10:10 +0900)
commit4808f91eb2c245344517fc89c37c6c4c88e9051b
treea9fd2d61060c2052980541d20af8d0a964c987c3
parentdbd6d454574af0911152fbeb5d687df6679c7436
ml2: gre, vxlan type driver can leak segment_id

When multiple region of segment_id is specified, segment_id can leak
(will be never reused) on deletion of network.

Change-Id: Ia27b7e2c0ff4ab58be304e54123a679a5e35ab00
Closes-Bug: #1260262
neutron/plugins/ml2/drivers/type_gre.py
neutron/plugins/ml2/drivers/type_vxlan.py
neutron/tests/unit/ml2/test_type_gre.py
neutron/tests/unit/ml2/test_type_vxlan.py