Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
api: Do not assert of short message lengths
[vpp.git]
/
src
/
vlibapi
/
api_shared.c
diff --git
a/src/vlibapi/api_shared.c
b/src/vlibapi/api_shared.c
index
7727843
..
17560e5
100644
(file)
--- a/
src/vlibapi/api_shared.c
+++ b/
src/vlibapi/api_shared.c
@@
-551,7
+551,6
@@
msg_handler_internal (api_main_t *am, void *the_msg, uword msg_len,
if (calc_size_fp)
{
calc_size = (*calc_size_fp) (the_msg);
- ASSERT (calc_size <= msg_len);
if (calc_size > msg_len)
{
clib_warning (