[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3] Support for UDP unicast network backend
From: |
Andreas Färber |
Subject: |
Re: [Qemu-devel] [PATCH v3] Support for UDP unicast network backend |
Date: |
Tue, 10 Jan 2012 11:59:00 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111220 Thunderbird/9.0 |
Am 10.01.2012 17:21, schrieb Benjamin:
> On 11/29/11 20:52, Stefan Hajnoczi wrote:
>> On Tue, Nov 29, 2011 at 7:55 PM, Benjamin<address@hidden> wrote:
>>>
>>> Signed-off-by: Benjamin<address@hidden>
A minor nit: the SoB is a legal assertion that you not stole, etc. the
code, and as such it should include first and last name.
>>> ---
>>> net.c | 6 ++++-
>>> net/socket.c | 73
>>> +++++++++++++++++++++++++++++++++++++++++++++++++++++-
>>> qemu-options.hx | 2 +
>>> 3 files changed, 78 insertions(+), 3 deletions(-)
>>
>> Reviewed-by: Stefan Hajnoczi<address@hidden>
>>
>>> + s = net_socket_fd_init(vlan, model, name, fd, 0);
>>> + if (!s) {
>>> + return -1;
>>> + }
>>
>> I'll add a TODO to my list about net_socket_fd_init(). It does not
>> consistently take ownership of fd. It may return NULL without closing
>> it, but then again it might close it on error in another code path :(.
Hasn't this been taken care of in the meantime? Any changes needed for
that, Stefan?
> Me again, is it supposed to take that long before the patch is
> accepted?
Not supposed to, but sometimes it does...
Andreas