Skip to contentSkip to conversation

vhost: fix use_mm usage

PATCH In review Michael S. Tsirkin 2 participants 3 messages Dec 20, 2009 – Dec 21, 2009 virtio core

lore
Share & tools
lore

Michael S. Tsirkin

author maintainer
#0 lore raw

cover vhost: fix use_mm usage

This patchset fixes an issue, pointed out by Al Viro, in how vhost net calls use_mm, Works fine for me, and it's pretty straightforward. If no one sees any issues with it, this will be a good candidate for 2.6.33 (assuming vhost net itself gets pulled :( ).

Michael S. Tsirkin (3):
vhost: prevent modification of an active ring
vhost: add access_ok checks
vhost: make default mapping empty by default

 drivers/vhost/net.c   |   23 ++++++--
 drivers/vhost/vhost.c |  153 ++++++++++++++++++++++++++++++++++++++++++++-----
 drivers/vhost/vhost.h |    2 +
 3 files changed, 157 insertions(+), 21 deletions(-)
Signature · 1 line
MST
#1 lore raw
Quoted 4 lines · Michael S. Tsirkin

This patchset fixes an issue, pointed out by Al Viro, in how vhost net calls use_mm, Works fine for me, and it's pretty straightforward. If no one sees any issues with it, this will be a good candidate for 2.6.33 (assuming vhost net itself gets pulled :( ).

No, Linus didn't respond to either pull request. Either he considers it a new driver and hence not in a hurry to enter merge window, or there's some other issue.

I've taken these fixes too, meanwhile.

Thanks,
Rusty.

#2 lore raw
In reply to Michael S. Tsirkin
Quoted 4 lines · Michael S. Tsirkin

This patchset fixes an issue, pointed out by Al Viro, in how vhost net calls use_mm, Works fine for me, and it's pretty straightforward. If no one sees any issues with it, this will be a good candidate for 2.6.33 (assuming vhost net itself gets pulled :( ).

No, Linus didn't respond to either pull request. Either he considers it a new driver and hence not in a hurry to enter merge window, or there's some other issue.

I've taken these fixes too, meanwhile.

Thanks,
Rusty.