[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH] net: Remove dead code from net/socket.c
From: |
Miguel Di Ciurcio Filho |
Subject: |
[Qemu-devel] Re: [PATCH] net: Remove dead code from net/socket.c |
Date: |
Fri, 14 May 2010 17:32:25 -0300 |
On Fri, May 14, 2010 at 2:03 PM, Jan Kiszka <address@hidden> wrote:
>>
>> In both cases the info_str string is written inside
>> net_socket_fd_init_(stream|dgram), and after that, it is
>> overwritten on a subsequent snprintf() in net_socket_accept().
>>
>
> There is non-zero time window between registration and acceptance. And
> you have the path taken for fd sockets.
>
It is non-zero, yes, but what is the point of writing to info_str with
an fd number for less them 5ms, when that value will be overwritten
anyway?
I'm an student, just trying to understand what is going on :-D
Regards,
Miguel