diff options
author | Eyal Bari <ebari@cisco.com> | 2016-09-19 10:23:39 +0300 |
---|---|---|
committer | John Lo <loj@cisco.com> | 2016-09-20 16:24:53 +0000 |
commit | d334a6b458e2ea60ee82b402d4785f5a2abc3c24 (patch) | |
tree | fc9d38bf928875b92a4ef58a53718a4b30d74ccf /vlib/.gitignore | |
parent | 2d085d9c6185caa2a84c5fd8740d279336f2d702 (diff) |
Added volatile to local variables needed by setjmp
Function vlib_main uses nonlocal control transfer (setjmp, longjmp),
local variables might be mapped to cpu registers which might be
different when longjmp'ing back to it. Added volatile to keep those
variables on the stack. to fix vpp crash when exiting via SIGTERM.
Change-Id: I03e836966c68a966a84d635bc1f7b3a3c252f3ea
Signed-off-by: Eyal Bari <ebari@cisco.com>
Diffstat (limited to 'vlib/.gitignore')
0 files changed, 0 insertions, 0 deletions