commit e49e8ea8d29fdd029c2b57c85712207efa0d6954
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/20754 github. org/Juniper/ contrail- controller/ commit/ e49e8ea8d29fdd0 29c2b57c8571220 7efa0d6954
Committed: http://
Submitter: Zuul
Branch: R2.21.x
commit e49e8ea8d29fdd0 29c2b57c8571220 7efa0d6954
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