diff options
author | Elias Rudberg <elias.rudberg@bahnhof.net> | 2020-05-27 02:15:53 +0200 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2020-08-18 19:47:21 +0000 |
commit | 2da354877790ffecffc58f347c4226a72926c72a (patch) | |
tree | 9c28e54fff370b3552e6cb75f1fedf9055714022 /src/plugins/dns/dns.h | |
parent | 915c3d9058531c1de0243857c876c29c037c327e (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 'src/plugins/dns/dns.h')
0 files changed, 0 insertions, 0 deletions