virtio-net: fixes for mergeable XDP receive path
Status from this message: This series was applied to netdev/net.git (main)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 2 repliesApplied 3/3
- v14 patches 8 repliesSuperseded
Patches in v2 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | virtio-net: ensure the received length does not exceed allocated sizedrivers/ | +34 | 1 reply | Applied |
| 2/3 | virtio-net: remove redundant truesize check with PAGE_SIZEdrivers/ | +3 | 0 replies | Applied |
| 3/3 | virtio-net: use the check_mergeable_len helperdrivers/ | +7 | 1 reply | Applied |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Jason Wang |
|---|---|
| 1/3 | A-b |
| 2/3 | A-b |
| 3/3 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net v2 0/3] virtio-net: fixes for mergeable XDP receive path
Hi everyone,
This series contains fixes for XDP receive path in virtio-net
- Patch 1: add a missing check for the received data length with our allocated buffer size in mergeable mode.
- Patch 2: remove a redundant truesize check with PAGE_SIZE in mergeable mode
- Patch 3: make the current repeated code use the check_mergeable_len to check for received data length in mergeable mode
Version 2 changes:
- Move the check_mergeable_len helper definition to the patch 1.
- Remove patch 4.
Thanks,
Quang Minh.
Bui Quang Minh (3):
virtio-net: ensure the received length does not exceed allocated size
virtio-net: remove redundant truesize check with PAGE_SIZE
virtio-net: use the check_mergeable_len helper
drivers/net/virtio_net.c | 75 ++++++++++++++++++++++------------------ 1 file changed, 42 insertions(+), 33 deletions(-)
Signature · 1 line
2.43.0