diff options
author | 2017-10-13 19:16:56 -0400 | |
---|---|---|
committer | 2017-10-16 02:33:49 +0000 | |
commit | 84db40e02e74efabe094e0d46ed2fafd348d126d (patch) | |
tree | acb97b6c2274bfdb45770347a6033b68ebff0545 /src/vlib/format_funcs.h | |
parent | b5518bedd95bea9c30cebcd5b0db76bd00f30a80 (diff) |
VPP-1029: Don't call clib_longjmp(...) directly from the SIGTERM handler
It's way too easy to imagine leaving a mutex or a spin-lock held in
the /vpe-api shared-memory segment, or elsewhere. Set a volatile
variable and check it in a safe place...
Change-Id: I9d91c38cffeb921143c272162d055c9c24a6c312
Signed-off-by: Dave Barach <dave@barachs.net>
(cherry picked from commit 903651caf320dfdaabd20a0e6f3cd0ffc843e02f)
Diffstat (limited to 'src/vlib/format_funcs.h')
0 files changed, 0 insertions, 0 deletions