This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: help in tcp/ip stack !!!
Thanks ! Jonathan
I got the bug !
In file io/fileio/src/socket.cxx , line 720,cyg_file_lock() must be modify
to cyg_file_unlock().
----------------------------------------------------------------------------
----------
static void cyg_sock_unlock( cyg_file *fp )
{
cyg_nstab_entry *ns = (cyg_nstab_entry *)fp->f_mte;
if( fp->f_syncmode & CYG_SYNCMODE_SOCK_NETSTACK )
nstab_lock[ns-&nstab[0]].unlock();
cyg_file_lock( fp, fp->f_syncmode>>CYG_SYNCMODE_SOCK_SHIFT);
}
----------------------------------------------------------------------------
----------
I'sure this bug make my system dump .
Do you think so ?
Best regard!