vhost: move tracing out of processing loop 27/43627/2
authorKonstantin Kogdenko <[email protected]>
Sat, 23 Aug 2025 09:09:04 +0000 (12:09 +0300)
committerFlorin Coras <[email protected]>
Wed, 27 Aug 2025 18:44:26 +0000 (18:44 +0000)
commit3fdc92762f1e808ccd35e5431d2e887c4683fda8
treec7ffa5be46693542d439bf4d5d95defa0e748e58
parenta651798373386f61c99974716736b9200c1befe9
vhost: move tracing out of processing loop

Before this fix vlib_trace_buffer was being called on not fully
initialized vlib_buffer_t (current_length == 0).
This caused trace filter functions to work incorrectly.

Type: fix

Change-Id: Ia8974af90ce91022ce1436ab54ab630bacce5bcf
Signed-off-by: Konstantin Kogdenko <[email protected]>
src/plugins/vhost/vhost_user_input.c