diff options
author | Florin Coras <fcoras@cisco.com> | 2016-05-10 20:01:44 +0200 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2016-05-11 11:03:20 +0000 |
commit | bd92de551f7cd5d57fc401b0eb83dd7170069f45 (patch) | |
tree | 44451dfa1a61942b7663816e81d2a036d04b1b5d /gmod | |
parent | 215104e67f3574e9a54684c1ed628b4690f47979 (diff) |
ONE-8: Fix adj signature issues
When inserting routes into ip4/6 fibs, we first added a dummy adjacency
and afterwards manually updated its rewrite header to enable src/dst
forwarding. The downside to this is that the adj signature is changed
and therefore when deleting a route the adjacency signature is not
removed from adj_index_by_signature hash resulting in crash if the same
adjacency is re-inserted.
This patch avoids the issue by enforcing the insertion of 'complete'
adjacencies thereby obviating the need to update the rewrite header.
Change-Id: Ib43bfe72a65e2cf9ef7685a99596eb1d7723e543
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'gmod')
0 files changed, 0 insertions, 0 deletions