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:
85207e6
)
vcl: fix packetdrill test error
06/33006/2
author
wanghanlin
<wanghanlin@corp.netease.com>
Tue, 6 Jul 2021 09:18:29 +0000
(17:18 +0800)
committer
Florin Coras
<florin.coras@gmail.com>
Tue, 6 Jul 2021 14:28:52 +0000
(14:28 +0000)
Type: fix
Signed-off-by: wanghanlin <wanghanlin@corp.netease.com>
Change-Id: I36d9affa5ee7160e95ee0ed463595bef752bbe9a
src/vcl/vppcom.c
patch
|
blob
|
history
diff --git
a/src/vcl/vppcom.c
b/src/vcl/vppcom.c
index
ddd5e0b
..
3847bf2
100644
(file)
--- a/
src/vcl/vppcom.c
+++ b/
src/vcl/vppcom.c
@@
-1988,7
+1988,7
@@
vppcom_session_read_internal (uint32_t session_handle, void *buf, int n,
u8 is_ct;
if (PREDICT_FALSE (!buf))
u8 is_ct;
if (PREDICT_FALSE (!buf))
- return VPPCOM_E
INVAL
;
+ return VPPCOM_E
FAULT
;
s = vcl_session_get_w_handle (wrk, session_handle);
if (PREDICT_FALSE (!s || (s->flags & VCL_SESSION_F_IS_VEP)))
s = vcl_session_get_w_handle (wrk, session_handle);
if (PREDICT_FALSE (!s || (s->flags & VCL_SESSION_F_IS_VEP)))