diff options
author | Damjan Marion <damarion@cisco.com> | 2019-01-20 00:03:56 +0100 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2019-01-20 19:23:53 +0000 |
commit | d50e3477635e6cc2592cbf30d4fdcee842053624 (patch) | |
tree | 5fbb767d3ef221630f1760af8f7f33263db4b928 /src/vlib/main.c | |
parent | 0a78fa17cbbeec8137ae823d3c5da8c6bec5ac6e (diff) |
buffers: keep buffer_main in vlib_main_t
Change-Id: I3bb1d9f83dd08f4b93acd4a281bfec0674e39c2e
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vlib/main.c')
-rw-r--r-- | src/vlib/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vlib/main.c b/src/vlib/main.c index 650fa281746..160050486c5 100644 --- a/src/vlib/main.c +++ b/src/vlib/main.c @@ -463,7 +463,7 @@ vlib_put_next_frame (vlib_main_t * vm, vlib_frame_t *f; u32 n_vectors_in_frame; - if (buffer_main.callbacks_registered == 0 && CLIB_DEBUG > 0) + if (vm->buffer_main->callbacks_registered == 0 && CLIB_DEBUG > 0) vlib_put_next_frame_validate (vm, r, next_index, n_vectors_left); nf = vlib_node_runtime_get_next_frame (vm, r, next_index); |