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/9065 github. org/Juniper/ contrail- controller/ commit/ a904a762c801ce4 a6dd483c33b96d6 0ec5891606
Committed: http://
Submitter: Zuul
Branch: master
commit a904a762c801ce4 a6dd483c33b96d6 0ec5891606
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/
Change-Id: If9cf04ba8a4249 57dcdb9559d0b99 b67d868d32f
Closes-bug: 1443318