commit 3dd69c770726be080ac573d2f76613bf6029e070
Author: Hari <email address hidden>
Date: Sun May 29 14:07:41 2016 +0530
Fix accessing deleted vdns obect.
When virtual-dns is deleted, all records configured under the vdns
have their vdns pointer reset. In this case, it was not reset as the
record wasnt added in the list under vdns, although the record was
pointing to vdns. This resulted in accessing deleted vdns entry.
In addition, make sure record is made valid when the appropriate
vdns for it is updated.
Change-Id: Id32f029014a46e8fe3efe35380940706708e7708
closes-bug: #1584174
(cherry picked from commit d09203de75444e54f90ea5bf9b83443e29726281)
Reviewed: https:/ /review. opencontrail. org/20752 github. org/Juniper/ contrail- controller/ commit/ 3dd69c770726be0 80ac573d2f76613 bf6029e070
Committed: http://
Submitter: Zuul
Branch: R2.20
commit 3dd69c770726be0 80ac573d2f76613 bf6029e070
Author: Hari <email address hidden>
Date: Sun May 29 14:07:41 2016 +0530
Fix accessing deleted vdns obect.
When virtual-dns is deleted, all records configured under the vdns
have their vdns pointer reset. In this case, it was not reset as the
record wasnt added in the list under vdns, although the record was
pointing to vdns. This resulted in accessing deleted vdns entry.
In addition, make sure record is made valid when the appropriate
vdns for it is updated.
Change-Id: Id32f029014a46e 8fe3efe35380940 706708e7708 4f90ea5bf9b8344 3e29726281)
closes-bug: #1584174
(cherry picked from commit d09203de75444e5