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
(parent:
6794787
)
vat: remove #if BUILTIN from vat_main_t definition
45/20745/2
author
Dave Barach
<dave@barachs.net>
Fri, 19 Jul 2019 12:25:37 +0000
(08:25 -0400)
committer
Florin Coras
<florin.coras@gmail.com>
Fri, 19 Jul 2019 14:42:43 +0000
(14:42 +0000)
Otherwise, vat plugins will be confused about the offset from &vat_main
of the vlib_main_t * pointer, leading to NULL pointer crashes.
Type: fix
Change-Id: I7298b7ce8c000217ed7fdd2e97a3cbf978464377
Signed-off-by: Dave Barach <dave@barachs.net>
src/vat/vat.h
patch
|
blob
|
history
diff --git
a/src/vat/vat.h
b/src/vat/vat.h
index
0d93af7
..
e21940c
100644
(file)
--- a/
src/vat/vat.h
+++ b/
src/vat/vat.h
@@
-216,9
+216,7
@@
typedef struct
socket_client_main_t *socket_client_main;
u8 *socket_name;
-#if VPP_API_TEST_BUILTIN == 0
elog_main_t elog_main;
-#endif
/* Convenience */
vlib_main_t *vlib_main;