From owner-cvs-src@FreeBSD.ORG Fri Aug 13 17:29:09 2004 Return-Path: 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 0799716A4CE for ; Fri, 13 Aug 2004 17:29:09 +0000 (GMT) Received: from hanoi.cronyx.ru (hanoi.cronyx.ru [144.206.181.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 517F343D48 for ; Fri, 13 Aug 2004 17:29:06 +0000 (GMT) (envelope-from rik@cronyx.ru) Received: (from root@localhost) by hanoi.cronyx.ru id i7DHQ3F4048651 for cvs-src@FreeBSD.org.checked; (8.12.8/vak/2.1) Fri, 13 Aug 2004 21:26:03 +0400 (MSD) (envelope-from rik@cronyx.ru) Received: from cronyx.ru (hi.cronyx.ru [144.206.181.94]) by hanoi.cronyx.ru with ESMTP id i7DHOePF048585; (8.12.8/vak/2.1) Fri, 13 Aug 2004 21:24:40 +0400 (MSD) (envelope-from rik@cronyx.ru) Message-ID: <411CF997.8020002@cronyx.ru> Date: Fri, 13 Aug 2004 21:25:43 +0400 From: Roman Kurakin User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031208 X-Accept-Language: en-us, en MIME-Version: 1.0 To: John Polstra References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/net if_tap.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Aug 2004 17:29:09 -0000 John Polstra wrote: >On 13-Aug-2004 Roman Kurakin wrote: > > >>John Polstra wrote: >> >> >>>That's pretty much correct. IFF_UP is an administrative control >>>that expresses the desired state of the interface. The driver never >>>changes IFF_UP. IFF_RUNNING is the driver's idea of the _actual_ >>> >>> >>> >>> >>PPP state machine can remove IFF_UP. For example if connection is not >>persistent and link >>was broken for any reason. >> >> >I call that a bug. > > This is not a bug, this is feature of protocol. Some times link should go down (or other state from which it could go up only by administrator (or program) intervention). Probably IFF_UP in PPP violation could be concerned like some protocols stacks relative OSI. rik >John > >