Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(from parent 1:
4db6183
)
vlib: fix unaligned runtime_data
00/35800/4
author
Dmitry Valter
<d-valter@yandex-team.ru>
Tue, 29 Mar 2022 15:13:26 +0000
(15:13 +0000)
committer
Damjan Marion
<dmarion@me.com>
Tue, 29 Mar 2022 16:58:58 +0000
(16:58 +0000)
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
src/vlib/node.h
patch
|
blob
|
history
diff --git
a/src/vlib/node.h
b/src/vlib/node.h
index
ee3aded
..
db8d424
100644
(file)
--- a/
src/vlib/node.h
+++ b/
src/vlib/node.h
@@
-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