diff options
author | Elias Rudberg <elias.rudberg@bahnhof.net> | 2020-05-27 02:15:53 +0200 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2020-07-15 11:04:47 +0000 |
commit | fa729ec6cd6c7e3ec8cd7b13ede3cc6665587aed (patch) | |
tree | 39ca33b515e205c4f2346105e52784f89a413ac9 /extras/lcov/lcov_post | |
parent | bc69426737b54533992fe763b037f81c912dada1 (diff) |
nat: fix regarding vm arg for vlib_time_now call
Change in snat_ipfix_header_create() to use thread-specific
vlib_main_t *vm pointer to avoid problems with different threads
accessing the same vlib_main_t data structure. This avoids
assertion failure when vlib_time_now() is called with a vm
corresponding to a different thread.
Type: fix
Signed-off-by: Elias Rudberg <elias.rudberg@bahnhof.net>
Change-Id: I2096c1debb5688d3b97e5ed9a0ea78d94053d8b7
(cherry picked from commit 5556813fb63d28240a17ccf18f947e60c4cbb263)
Diffstat (limited to 'extras/lcov/lcov_post')
0 files changed, 0 insertions, 0 deletions