This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: maybe errors?
- From: Jonathan Larmour <jifl at eCosCentric dot com>
- To: =?GB2312?B?1cUgwcE=?= <johnsonest at hotmail dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Thu, 09 Jan 2003 07:24:35 +0000
- Subject: Re: [ECOS] maybe errors?
- References: <F114Ly5SeQzzWd7meA80001973d@hotmail.com>
ÕÅ ÁÁ 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?
Jifl
--
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