Re: [Xen-devel] [PATCH 0/4] virtio-net: do not leak cpu mappings

2014-11-25 Thread Wei Liu
On Tue, Nov 25, 2014 at 04:28:32PM +0100, Fabio Fantoni wrote: > Il 25/11/2014 15:42, Stefano Stabellini ha scritto: > >Hi all, > >this patch series fixes a cpu mapping leak in virtio-net. > > > >The bug is caused by virtio_net_handle_ctrl: it maps the entire out_sg > >iov, but then modifies it and

Re: [Xen-devel] [PATCH 0/4] virtio-net: do not leak cpu mappings

2014-11-25 Thread Fabio Fantoni
Il 25/11/2014 15:42, Stefano Stabellini ha scritto: Hi all, this patch series fixes a cpu mapping leak in virtio-net. The bug is caused by virtio_net_handle_ctrl: it maps the entire out_sg iov, but then modifies it and reduces it (iov_discard_front), and only unmap the reduced version of the iov

[Xen-devel] [PATCH 0/4] virtio-net: do not leak cpu mappings

2014-11-25 Thread Stefano Stabellini
Hi all, this patch series fixes a cpu mapping leak in virtio-net. The bug is caused by virtio_net_handle_ctrl: it maps the entire out_sg iov, but then modifies it and reduces it (iov_discard_front), and only unmap the reduced version of the iov. This causes a crash when running on Xen, but the be