diff options
author | Elias Rudberg <elias.rudberg@bahnhof.net> | 2020-05-07 14:29:21 +0200 |
---|---|---|
committer | Elias Rudberg <elias.rudberg@bahnhof.net> | 2020-05-07 14:29:21 +0200 |
commit | 92e1b83a39458f98ff649883334b153f03af603b (patch) | |
tree | fe7a6accac254a3151081b5fccc27c7933d9e273 /src/vlibapi | |
parent | a1e03d4da71a2452c1e5da399d96c51f1b487cad (diff) |
lacp: fix regarding vm arg for vlib_time_now calls
Use thread-specific vlib_main_t *vm pointers 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: I359596ecff86e03d57aa8d2330f77bf9a913485f
Diffstat (limited to 'src/vlibapi')
0 files changed, 0 insertions, 0 deletions