From owner-freebsd-current Fri Nov 16 16:23:21 2001 Delivered-To: freebsd-current@freebsd.org Received: from elvis.mu.org (elvis.mu.org [216.33.66.196]) by hub.freebsd.org (Postfix) with ESMTP id 625BD37B50F for ; Fri, 16 Nov 2001 16:23:12 -0800 (PST) Received: by elvis.mu.org (Postfix, from userid 1192) id 3FC5181D01; Fri, 16 Nov 2001 18:23:12 -0600 (CST) Date: Fri, 16 Nov 2001 18:23:12 -0600 From: Alfred Perlstein To: Julian Elischer Cc: Jonathan Lemon , julian@vicor-nb.com, current@freebsd.org Subject: Re: re-entrancy and the IP stack. Message-ID: <20011116182312.C13393@elvis.mu.org> References: <200111170003.fAH03Ia60157@prism.flugsvamp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from julian@elischer.org on Fri, Nov 16, 2001 at 04:16:11PM -0800 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Julian Elischer [011116 18:20] wrote: > > On Fri, 16 Nov 2001, Jonathan Lemon wrote: > > > Um, no please. MT_DUMMYNET is a bad hack that should be removed > > (and which I've partly done in one of my trees). I would rather > > not perpetuate this, it causes more problems than it is worth. > > > > I believe that Garrett went in a while back and removed all the > > abuses of mbuf (used to store sockaddrs and the like), and this > > would appear to be a step backward. > > > > I don't disagree that there are many static variables that need > > to be cleaned up, but I don't believe that this is the right > > approach. > > sure, but how about some suggestions then? > personally Holding static things in mbufs is an abuse, > and even things that are dynamic but can be better > passed as an argument. > > Maybe just some extra arguments can cover it.. > but that's not very extensible, and you can't queue arguments. Ah, but you can't queue static variable either. :) -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' http://www.morons.org/rants/gpl-harmful.php3 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message