[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [virtio-dev] Re: [PATCH v6] vsock: add vsock device
On Fri, Apr 29, 2016 at 10:17:15AM +0100, Ian Campbell wrote: > On 28 April 2016 at 17:06, Stefan Hajnoczi <stefanha@redhat.com> wrote: > > Interestingly the vhost "backend" uses a workqueue and a send packet > > list so it doesn't block. I'll take a look at using the same approach > > in virtio_transport.c. > > Doesn't the use of a list like this open up the issue of the frontend > requiring the backend to queue an arbitrarily large number of pending > replies (by send TX requests requiring a response more quickly than it > populates the RX ring, either by mistake or by being malicious?) Yes, this is why the backend should stop processing if the rx ring becomes empty. Stefan
Attachment:
signature.asc
Description: PGP signature
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]