From owner-cvs-all Wed Oct 23 9: 4:52 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3553A37B401; Wed, 23 Oct 2002 09:04:51 -0700 (PDT) Received: from is2.mh.itc.u-tokyo.ac.jp (is2.mh.itc.u-tokyo.ac.jp [133.11.205.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 617F143E3B; Wed, 23 Oct 2002 09:04:50 -0700 (PDT) (envelope-from simokawa@sat.t.u-tokyo.ac.jp) Received: from is2.mh.itc.u-tokyo.ac.jp (is2.mh.itc.u-tokyo.ac.jp [127.0.0.1]) by is2.mh.itc.u-tokyo.ac.jp (Postfix) with ESMTP id 50F3E378065; Thu, 24 Oct 2002 01:04:44 +0900 (JST) Received: from mailhosting.itc.u-tokyo.ac.jp (IDENT:mirapoint@mailhosting.itc.u-tokyo.ac.jp [133.11.205.3]) by is2.mh.itc.u-tokyo.ac.jp (8.11.3/8.11.3) with ESMTP id g9NG4h032525; Thu, 24 Oct 2002 01:04:43 +0900 Received: from ett.sat.t.u-tokyo.ac.jp (nat.keisu.t.u-tokyo.ac.jp [133.11.68.2]) by mailhosting.itc.u-tokyo.ac.jp (Mirapoint Messaging Server MOS 2.9.3.2) with ESMTP id AHF90705; Thu, 24 Oct 2002 01:04:43 +0900 (JST) Date: Thu, 24 Oct 2002 01:04:43 +0900 Message-ID: From: Hidetoshi Shimokawa To: "Andrey A. Chernov" Cc: Hidetoshi Shimokawa , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/net if_tun.c In-Reply-To: <20021023152131.GA74610@nagual.pp.ru> References: <200210231516.g9NFGbep006985@repoman.freebsd.org> <20021023152131.GA74610@nagual.pp.ru> User-Agent: Wanderlust/2.9.14 (Unchained Melody) REMI/1.14.3 (Matsudai) FLIM/1.14.3 (=?ISO-8859-1?Q?Unebigory=F2mae?=) APEL/10.3 MULE XEmacs/21.4 (patch 8) (Honest Recruiter) (i386--freebsd) X-Face: OE([KxWyJI0r[R~S/>7ia}SJ)i%a,$-9%7{*yihQk|]gl}2p#"oXmX/fT}Bn7: #j7i14gu$jgR\S*&C3R/pJX List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At Wed, 23 Oct 2002 19:21:31 +0400, Andrey A. Chernov wrote: > > On Wed, Oct 23, 2002 at 08:16:37 -0700, Hidetoshi Shimokawa wrote: > > simokawa 2002/10/23 08:16:37 PDT > > > > Modified files: > > sys/net if_tun.c > > Log: > > Don't send/recieve packets when the interface is down. > > I not look at the change yet, but it sounds like it may break > dial-on-demand (when send packets present). As far as I tested with pmdemand target in ppp.conf.sample, ppp makes the interface up just after invoked with -auto option. So the patch shouldn't drop the trigger packet. I have not tested with real dail-on-demand system. If you have any problem, please let me know. /\ Hidetoshi Shimokawa \/ simokawa@sat.t.u-tokyo.ac.jp PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message