From owner-freebsd-arch Wed Oct 16 11:41:21 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D4B9737B401; Wed, 16 Oct 2002 11:41:20 -0700 (PDT) Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72E3A43E9C; Wed, 16 Oct 2002 11:41:20 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20021016184028.ZPUO11063.rwcrmhc52.attbi.com@InterJet.elischer.org>; Wed, 16 Oct 2002 18:40:28 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id LAA86833; Wed, 16 Oct 2002 11:24:35 -0700 (PDT) Date: Wed, 16 Oct 2002 11:24:34 -0700 (PDT) From: Julian Elischer To: Luigi Rizzo Cc: "JINMEI Tatuya / ?$B?@L@C#:H?(B" , Sam Leffler , freebsd-arch@FreeBSD.ORG, freebsd-net@FreeBSD.ORG Subject: Re: CFR: m_tag patch In-Reply-To: <20021016111857.A38181@carp.icir.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 16 Oct 2002, Luigi Rizzo wrote: > On Thu, Oct 17, 2002 at 03:07:07AM +0900, JINMEI Tatuya / ?$B?@L@C#:H?(B wrote: > ... > > (I re-read the thread) perhaps the example in my previous message > > wasn't good (and it was at least incorrect). According to the > > discussion on the thread, we'll probably keep m_tag_cookie being 0 and > > use m_tag_id in (e.g.) ip6_output.c. So, we'll be happy if this > > convention is kept (and will be kept) at least under netinet6. > > unfortunately this will not prevent code from having to check that > the m_tag_cookie actually corresponds to the value you want, to > make sure that your code does not misinterpret as own tags > generated/destined to other clients. > > Am I correct, Sam ? yes but this is always done with macros, and the OpenBSD compatible macros also check for the correct cookie value. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message