Subject: Re: m_copydata() vs. const (was: CVS commit: src/sys)
To: None <tech-net@NetBSD.org>
From: Matthias Scheler <tron@zhadum.de>
List: tech-net
Date: 06/06/2005 09:41:39
On Mon, Jun 06, 2005 at 10:33:58AM +0200, Martin Husemann wrote:
> > > Matthias, how did you get if_stf* to compile without the const mbuf arg?
> > 
> > Via this change:
> > 
> > Module Name:    src
> > Committed By:   tron
> > Date:           Thu Jun  2 15:21:35 UTC 2005
> 
> Well, a lot changed after that, some of which broke it again.

It apparently got fixed again because I could compile a kernel with stf(4)
enabled a few minutes ago.

> This whole const thing was badly done and wasted a lot of developer power.

No objections from me.

> Maybe we are going to see another few bounces of mbuf -> const mbuf -> mbuf
> in the next weeks ;-)

Maybe we should at least at a comment to m_copydata()?

	Kind regards

-- 
Matthias Scheler                                  http://scheler.de/~matthias/