This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: uipc_socket.c (and cyg_tcp_maxidle)


The patch does help me when I run out of sockets via the socket() call,
but I'm wondering if the zfreei() in sodealloc() is getting the correct
second argument.  I'll dig into this deeper...

Cheers,
Will

On Thu, 2005-06-16 at 17:46 +0200, Hans Hübner wrote:
> On Thu, 16 Jun 2005, Will Lentz wrote:
> 
> > zfreei() is a function, and doesn't directly modify its first argument.
> > But - it passes "so" as its second argument, and it modifies the value
> > of so->so_zone through that.  Looking at zfreei:
> 
> Oops, it helps being awake while posting!  Thanks for the patch, I'll apply it 
> to my source tree immediately :)
> 
> Cheers,
> Hans

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]