From owner-freebsd-net Tue Dec 17 16:47:20 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B19737B401 for ; Tue, 17 Dec 2002 16:47:19 -0800 (PST) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id C1DB743E4A for ; Tue, 17 Dec 2002 16:47:18 -0800 (PST) (envelope-from sam@errno.com) Received: from melange (melange.errno.com [66.127.85.82]) (authenticated bits=0) by ebb.errno.com (8.12.5/8.12.1) with ESMTP id gBI0lI9i084868 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Tue, 17 Dec 2002 16:47:18 -0800 (PST)?g (envelope-from sam@errno.com)œ X-Authentication-Warning: ebb.errno.com: Host melange.errno.com [66.127.85.82] claimed to be melange Message-ID: <07b201c2a62f$044f6120$52557f42@errno.com> From: "Sam Leffler" To: "Vincent Jardin" , References: <3DF62DBD0032C2ED@mel-rta6.wanadoo.fr> <050301c2a5f2$fc52aae0$52557f42@errno.com> <3DF63117003CB51E@mel-rta9.wanadoo.fr> (added by postmaster@wanadoo.fr) Subject: Re: Recursive encapsulation could panic the Kernel Date: Tue, 17 Dec 2002 16:47:18 -0800 Organization: Errno Consulting MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > > In -current mbufs can be tagged (see m_tag* in sys/mbuf.h); this'll let you > > do what you want. I've been slow to MFC them to -stable because there are > > some issues with copying packet headers that I want to resolve first. > > > > I thought about m_ext too. I agree that the m_tag looks better. However, how > do you plan to solve this copy of packets ? > Not sure what you mean, but the tags associated with a packet should be propagated when packets are copied. The current code doesn't do this right. The changes to do this are waiting on a bug fix. Sam To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message