If the composite nexthop does not have any component nexthops,
we set the reach_nh to discard. One side effect of this behavior
is that multicast ARPs are dropped, since ARP processing happens
in the composite nexthop handling. Hence, retain the composite
nexthop functionality, even if there are no component nexthops.
As part of this change, we also make sure that if a change in
any nexthop fails, we do not disrupt the way it works.
Reviewed: https:/ /review. opencontrail. org/31040 github. com/Juniper/ contrail- vrouter/ commit/ 4430b2663cde4cb 48107c04cf4d8ea ec50b6b649
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: master
commit 4430b2663cde4cb 48107c04cf4d8ea ec50b6b649
Author: Anand H. Krishnan <email address hidden>
Date: Thu Apr 27 12:12:45 2017 +0530
Reset the reach_nh pointer to original value
If the composite nexthop does not have any component nexthops,
we set the reach_nh to discard. One side effect of this behavior
is that multicast ARPs are dropped, since ARP processing happens
in the composite nexthop handling. Hence, retain the composite
nexthop functionality, even if there are no component nexthops.
As part of this change, we also make sure that if a change in
any nexthop fails, we do not disrupt the way it works.
Change-Id: Ic9ea091e3f0cbe 659389bc57bea2a 1e214bbd771
Closes-Bug: #1686452