From owner-cvs-src@FreeBSD.ORG  Wed Oct 26 12:16:03 2005
Return-Path: <owner-cvs-src@FreeBSD.ORG>
X-Original-To: cvs-src@freebsd.org
Delivered-To: cvs-src@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id A887216A422;
	Wed, 26 Oct 2005 12:16:03 +0000 (GMT)
	(envelope-from max@love2party.net)
Received: from moutng.kundenserver.de (moutng.kundenserver.de
	[212.227.126.188])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 0BBE543D53;
	Wed, 26 Oct 2005 12:16:02 +0000 (GMT)
	(envelope-from max@love2party.net)
Received: from p54A3C62B.dip.t-dialin.net [84.163.198.43]
	(helo=donor.laier.local)
	by mrelayeu.kundenserver.de with ESMTP (Nemesis),
	id 0MKwtQ-1EUkCH0NqJ-0002em; Wed, 26 Oct 2005 14:16:01 +0200
From: Max Laier <max@love2party.net>
To: Robert Watson <rwatson@freebsd.org>
Date: Wed, 26 Oct 2005 14:15:47 +0200
User-Agent: KMail/1.8.2
References: <200510260557.j9Q5vZ7J076711@repoman.freebsd.org>
	<20051026093536.GF41520@cell.sick.ru>
	<20051026105820.X32255@fledge.watson.org>
In-Reply-To: <20051026105820.X32255@fledge.watson.org>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="nextPart1391944.u5ptIuUrKn";
	protocol="application/pgp-signature"; micalg=pgp-sha1
Content-Transfer-Encoding: 7bit
Message-Id: <200510261416.09346.max@love2party.net>
X-Provags-ID: kundenserver.de abuse@kundenserver.de
	login:61c499deaeeba3ba5be80f48ecc83056
Cc: cvs-src@freebsd.org, Yar Tikhiy <yar@freebsd.org>,
	Gleb Smirnoff <glebius@freebsd.org>, src-committers@freebsd.org,
	cvs-all@freebsd.org
Subject: Re: cvs commit: src/sys/netinet ip_carp.c
X-BeenThere: cvs-src@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit messages for the src tree <cvs-src.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>,
	<mailto:cvs-src-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/cvs-src>
List-Post: <mailto:cvs-src@freebsd.org>
List-Help: <mailto:cvs-src-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>,
	<mailto:cvs-src-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Oct 2005 12:16:03 -0000

--nextPart1391944.u5ptIuUrKn
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Wednesday 26 October 2005 11:58, Robert Watson wrote:
> On Wed, 26 Oct 2005, Gleb Smirnoff wrote:
> > On Wed, Oct 26, 2005 at 10:15:09AM +0100, Robert Watson wrote:
> > R> I think we may actually be in need of either a new flag,
> > R> IFF_OKSODONTTREATTHISQUITELIKEANINTERFACE, or maybe a more reliable
> > way R> for protocols to ask if an interface is a loopback interface or
> > not.
> >
> > I'd prefer to rewrite those subsystems that use interface layer but
> > aren't actually interfaces. I have plans to do this for CARP.
>
> At least in the case of if_disc, this won't help.  I'm not quite sure why
> if_disc is IFF_LOOPBACK.

Sad answer seems to be: copy and paste.  IFF_LOOPBACK is part of 1.1 which=
=20
also contains the following comment:

/*
 * Discard interface driver for protocol testing and timing.
 * (Based on the loopback.)
 */

So it might be a good idea to get rid of it and work from there.

=2D-=20
/"\  Best regards,                      | mlaier@freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier@EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News

--nextPart1391944.u5ptIuUrKn
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQBDX3OJXyyEoT62BG0RAnHxAJ9Qg9t6x/Zu+JHZE+UmS986W9KO3QCfVDzs
aRWDTyxsRbJy2gc9+D0ZbOE=
=POH8
-----END PGP SIGNATURE-----

--nextPart1391944.u5ptIuUrKn--