Fix various issue of vhost
Get series with b4
b4 am '20181213025339.14023-1-jasowang__26050.2223427922$1544669506$gmane$org@redhat.com'Versions newest first · linked by author and title
- v3 Latest posting 2/20 of 3 patches 0 repliesNew
- v3 posting 1/23 patches 4 repliesSuperseded
- v2 posting 2/20 of 4 patches 0 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 posting 1/2 | 4 patches | 33 replies | Superseded | |
| v1 | 4 patches | 11 replies | Superseded |
Changes in v3 from the cover letter
- drop dirty page fix and make it for net-next
Patches in v3 posting 2/2 No applies recorded yet
None of the 3 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH net V3 0/3] Fix various issue of vhost
Hi:
This series tries to fix various issues of vhost:
- Patch 1 adds a missing write barrier between used idx updating and logging.
- Patch 2-3 brings back the protection of device IOTLB through vq mutex, this fixes possible use after free in device IOTLB entries.
Please consider them for -stable.
Thanks
Changes from V2:
- drop dirty page fix and make it for net-next
Changes from V1:
- silent compiler warning for 32bit.
- use mutex_trylock() on slowpath instead of mutex_lock() even on fast path.
Jason Wang (3):
vhost: make sure used idx is seen before log in vhost_add_used_n()
vhost_net: switch to use mutex_trylock() in vhost_net_busy_poll() Revert "net: vhost: lock the vqs one by one"
drivers/vhost/net.c | 8 +++++++- drivers/vhost/vhost.c | 23 +++++++++++++++++++---- 2 files changed, 26 insertions(+), 5 deletions(-)
Signature · 1 line
2.17.1