[net,0/3] Several fixes for vhost_net ptr_ring usage
mbox series

Message ID 1520578234-5565-1-git-send-email-jasowang@redhat.com
Headers show
Series
  • Several fixes for vhost_net ptr_ring usage
Related show

Message

Jason Wang March 9, 2018, 6:50 a.m. UTC
Hi:

This small series try to fix several bugs of ptr_ring usage in
vhost_net. Please review.

Thanks

Alexander Potapenko (1):
  vhost_net: initialize rx_ring in vhost_net_open()

Jason Wang (2):
  vhost_net: keep private_data and rx_ring synced
  vhost_net: examine pointer types during un-producing

 drivers/net/tun.c      | 3 ++-
 drivers/vhost/net.c    | 8 +++++---
 include/linux/if_tun.h | 4 ++++
 3 files changed, 11 insertions(+), 4 deletions(-)

Comments

Michael S. Tsirkin March 9, 2018, 4:57 p.m. UTC | #1
On Fri, Mar 09, 2018 at 02:50:31PM +0800, Jason Wang wrote:
> Hi:
> 
> This small series try to fix several bugs of ptr_ring usage in
> vhost_net. Please review.
> 
> Thanks

ACK series, thanks Jason!

> Alexander Potapenko (1):
>   vhost_net: initialize rx_ring in vhost_net_open()
> 
> Jason Wang (2):
>   vhost_net: keep private_data and rx_ring synced
>   vhost_net: examine pointer types during un-producing
> 
>  drivers/net/tun.c      | 3 ++-
>  drivers/vhost/net.c    | 8 +++++---
>  include/linux/if_tun.h | 4 ++++
>  3 files changed, 11 insertions(+), 4 deletions(-)
> 
> -- 
> 2.7.4
David Miller March 9, 2018, 5:03 p.m. UTC | #2
From: Jason Wang <jasowang@redhat.com>
Date: Fri,  9 Mar 2018 14:50:31 +0800

> This small series try to fix several bugs of ptr_ring usage in
> vhost_net. Please review.

Series applied, thanks Jason.