Do not refer to instance variables in constructor parameters initialization
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.2 |
Fix Committed
|
Low
|
Ananth Suryanarayana | |||
Trunk |
Fix Committed
|
Low
|
Ananth Suryanarayana |
Bug Description
Tools like valgrind does not like it.. IIRC, an issue was also seen (crash) once in production/test environment
diff --git a/src/bgp/
index 4f3335f..941a164 100644
--- a/src/bgp/
+++ b/src/bgp/
@@ -420,8 +420,6 @@ BgpPeer:
- close_manager_
- peer_close_
@@ -429,6 +427,8 @@ BgpPeer:
+ close_manager_
+ BgpObjectFactor
ostringstream oss1;
oss1 << peer_key_
if (peer_key_
diff --git a/src/bgp/
index aa747b0..2beb651 100644
--- a/src/bgp/
+++ b/src/bgp/
@@ -464,10 +464,8 @@ BgpXmppChannel:
peer_(new XmppPeer(
- close_manager_
- peer_close_
- bgp_policy_
+ bgp_policy_
@@ -484,6 +482,8 @@ BgpXmppChannel:
lb_mgr_(new LabelBlockManag
+ close_manager_
+ BgpObjectFactor
if (bgp_server) {
Review in progress for https:/ /review. opencontrail. org/27153
Submitter: Ananth Suryanarayana (<email address hidden>)