sdnfv / openNetVM

A high performance container-based NFV platform from GW and UCR.
http://sdnfv.github.io/onvm/
Other
263 stars 136 forks source link

[Bug Fix] Prevent Double Shutdown Issues #133

Closed koolzz closed 5 years ago

koolzz commented 5 years ago

Before if onvm_nflib_stop would be called 2 times we would see weird behavior, this PR fixes that by adding an atomic flag such that we only execute the shutdown sequence once.

Kudos to @dennisafa for finding this

This PR includes
Resolves issues
Breaking API changes
Internal API changes
Usability improvements
Bug fixes
New functionality
New NF/onvm_mgr args
Changes to starting NFs
Dependency updates
Web stats updates

Merging notes:

TODO before merging :

Test Plan:

Review:

@dennisafa pls

onvm commented 5 years ago

In response to PR creation

CI Message

Your results will arrive shortly