Re: [PATCH net 0/3] Several fixes for vhost_net ptr_ring usage

From: Michael S. Tsirkin
Date: Fri Mar 09 2018 - 11:57:49 EST


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