Fix packet length issue
Status from this message: Applied
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest3 patches 7 repliesApplied
- v32 patches 0 repliesSuperseded
- v21 patch 0 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 1 patch | 0 replies | Superseded |
Patches in v4 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | vhost: Fix packet length issueexamples/ | +10 | 1 reply | |
| 2/3 | vhost: Remove duplicated codesexamples/ | +58 | 0 replies | |
| 3/3 | vhost: Check offset valueexamples/ | +5 | 4 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Konstantin Ananyev | Huawei Xie |
|---|---|---|
| Series | A-b | |
| 1/3 | A-b | |
| 2/3 | ||
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/3] Fix packet length issue
This patch set fix packet length issue in vhost app, and enhance code by extracting a function to replace duplicated codes in one copy and zero copy TX function.
-v4 chang:
Check offset value and extra bytes inside packet buffer cross page boundary.
-v3 change:
Extract a function to replace duplicated codes in one copy and zero copy TX function.
-v2 change:
Update data length by plus offset in first segment instead of last segment.
-v1 change:
Update the packet length by plus offset;
Use macro to replace constant.
Changchun Ouyang (3):
Fix packet length issue in vhost.
Extract a function to replace duplicated codes in vhost. Check offset value in vhost
examples/vhost/main.c | 142 +++++++++++++++++++++++--------------------------- 1 file changed, 65 insertions(+), 77 deletions(-)
Signature · 1 line
1.8.4.2