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:
738b299
)
vcl: update buf if whole buf cannot be done at once
59/18159/1
author
wuzhouhui
<wuzhouhui14@mails.ucas.ac.cn>
Sun, 10 Mar 2019 03:35:46 +0000
(11:35 +0800)
committer
wuzhouhui
<wuzhouhui14@mails.ucas.ac.cn>
Sun, 10 Mar 2019 03:35:46 +0000
(11:35 +0800)
Change-Id: I0d56d2cee012b46da848362f322d6f246f8bf4c2
Signed-off-by: wuzhouhui <wuzhouhui14@mails.ucas.ac.cn>
src/vcl/vcl_test.h
patch
|
blob
|
history
diff --git
a/src/vcl/vcl_test.h
b/src/vcl/vcl_test.h
index
638d519
..
cb38f29
100644
(file)
--- a/
src/vcl/vcl_test.h
+++ b/
src/vcl/vcl_test.h
@@
-509,6
+509,7
@@
vcl_test_write (int fd, uint8_t * buf, uint32_t nbytes,
if (tx_bytes != nbytes)
{
nbytes_left = nbytes_left - rv;
+ buf += rv;
if (stats)
stats->tx_incomp++;
}