diff options
author | Dave Barach <dbarach@cisco.com> | 2018-07-12 13:00:47 -0400 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2018-07-12 22:30:11 +0000 |
commit | 0610039fd06c760924fb92d0fc7b4d3e0ffeb8e3 (patch) | |
tree | 8b53c47a35898d197318a6e0411ab495c047916a /src/vlib/unix/plugin.h | |
parent | 93c90a5c9724518c95b7d5f764becb1f70111ab3 (diff) |
Fix debug CLI node recycling bugs
When creating a new - as opposed to recycled - debug CLI process node,
perform a proper barrier sync and node runtime update. Otherwise, the
graph replicas diverge for some period of time. That's not immediately
fatal, but it's not a good idea, either.
When renaming a debug cli process node, fix all of the name-vector
replicas before freeing the [one-and-only] name vector.
This fixes the so-called stats segment node runtime scraper crash,
which tripped over a replicated dangling reference to the
recently-freed debug CLI node name.
Change-Id: Ieffabd9f003139e534b9d79b88370439907930e5
Signed-off-by: Dave Barach <dbarach@cisco.com>
Diffstat (limited to 'src/vlib/unix/plugin.h')
0 files changed, 0 insertions, 0 deletions