Tor agent crashes during addition of multicast route.
Problem:
When VN to VRF link is not present addition of multicast route in tor agent
used to crash as addition routine tries to access VN name from VRF entry.
Absence of link used to return NULL VN and accessing it for VN name
results in crash.
Solution:
Use VN name from VN OVSDB entry. Pass it along in API.
Multicast OVSDB does not gets resolved till VN OVSDB is resolved,
hence using VN name from same is safe.
Reviewed: https:/ /review. opencontrail. org/10336 github. org/Juniper/ contrail- controller/ commit/ ce36b77733fff8b 4837b031ff73a98 66299aaf18
Committed: http://
Submitter: Zuul
Branch: R2.20
commit ce36b77733fff8b 4837b031ff73a98 66299aaf18
Author: Manish <email address hidden>
Date: Tue Apr 28 16:55:31 2015 +0530
Tor agent crashes during addition of multicast route.
Problem:
When VN to VRF link is not present addition of multicast route in tor agent
used to crash as addition routine tries to access VN name from VRF entry.
Absence of link used to return NULL VN and accessing it for VN name
results in crash.
Solution:
Use VN name from VN OVSDB entry. Pass it along in API.
Multicast OVSDB does not gets resolved till VN OVSDB is resolved,
hence using VN name from same is safe.
Conflicts: agent/oper/ vn.cc agent/oper/ vn.h agent/test/ test_util. cc
src/vnsw/
src/vnsw/
src/vnsw/
Closes-bug: 1443318 a6dd483c33b96d6 0ec5891606)
(cherry picked from commit a904a762c801ce4
Change-Id: Ic4d4949ee69bf8 11bca426e7d324c 6b64d4330a9