vlib: fix unaligned runtime_data

Align runtime_data to 8 bytes to avoid alignment issues with any
pointers in runtime_data located structures.

Type: fix
Signed-off-by: Dmitry Valter <d-valter@yandex-team.ru>
Change-Id: I9cb1b73595e654a4b15c45f87b43fa6cfbcb6e51
This commit is contained in:
Dmitry Valter
2022-03-29 15:13:26 +00:00
committed by Damjan Marion
parent 4db6183802
commit 5760fdfb8c

View File

@@ -503,6 +503,8 @@ typedef struct vlib_node_runtime_t
zero before first run of this
node. */
CLIB_ALIGN_MARK (runtime_data_pad, 8);
u8 runtime_data[0]; /**< Function dependent
node-runtime data. This data is
thread local, and it is not