[ECOS] maybe errors?

Jonathan Larmour jifl@eCosCentric.com
Thu Jan 9 07:24:00 GMT 2003

ÕÅ ÁÁ wrote:
> Dear Gthomas,
>     thank you for your feedback!
>     I maybe find some errors in mbuf code:
>       1:writing a completly correct function :m_copym() is difficult 
> once,I feel.
>         this function is very good sample for my learning.
>         I fell in file uipc_mbuf.c  line 470:
>              if (top == NULL)
>         MCFail++;
>          is no need.it will not be executed.
>       2:in function m_copydata(),line573:
>         code does not process the case  len==M_COPYALL.

You should consider using the freebsd stack port (with the template
new_net instead of net). That's where the future development will be that
we care about.

In both these cases, I suspect it's all ok in practice simply because I
have a lot of faith in the BSD code base, and the mbuf code has been
looked at a lot.

Or are you saying you've actually hit a problem here?

eCosCentric       http://www.eCosCentric.com/       <info@eCosCentric.com>
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine

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

More information about the Ecos-discuss mailing list