summaryrefslogtreecommitdiffstats
path: root/src/vlib/counter.c
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2021-02-08 07:56:22 -0500
committerFlorin Coras <florin.coras@gmail.com>2021-02-08 20:55:30 +0000
commita8f4ebd08e6d7fddf6fca4f2ef7081321c51a451 (patch)
tree4a4f92f276ead13c8e5c2ff06afcc92132a58240 /src/vlib/counter.c
parentc7eaa711f3e25580687df0618e9ca80d3dc85e5f (diff)
vlib: ASSERT vm == vlib_get_main()
To catch coding mistakes: calling vlib_get_frame_to_node() from a worker thread with vm = &vlib_global_main instead of vm = vlib_mains[worker_thread_index] Type: improvement Signed-off-by: Dave Barach <dave@barachs.net> Change-Id: I5a8f01fdf9f35daeeada2d6eaa7180a60c4ca529
Diffstat (limited to 'src/vlib/counter.c')
0 files changed, 0 insertions, 0 deletions