From owner-freebsd-current@FreeBSD.ORG Sun Sep 28 12:51:40 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 80D5E16A4B3 for ; Sun, 28 Sep 2003 12:51:40 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 69C4C43FEC for ; Sun, 28 Sep 2003 12:51:39 -0700 (PDT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.9/8.12.9) with ESMTP id h8SJpcLG000147 for ; Sun, 28 Sep 2003 21:51:38 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: current@freebsd.org From: "Poul-Henning Kamp" In-Reply-To: Your message of "Sat, 27 Sep 2003 23:57:19 +0200." <92028.1064699839@critter.freebsd.dk> Date: Sun, 28 Sep 2003 21:51:38 +0200 Message-ID: <146.1064778698@critter.freebsd.dk> Subject: TEST PLEASE: if_tap patch X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Sep 2003 19:51:40 -0000 There is now also another patch http://phk.freebsd.dk/patch/if_tap.patch for the /dev/tap and /dev/vmnet driver. Please test this too, it follows the if_tun patch very closely. >Please test this patch: > > http://phk.freebsd.dk/patch/if_tun.patch > >There is a slight change in semantics in that the interface will disappear >entirely when the /dev/tun%d device is closed. > >If no objections this will be committed in some days. > >| Remove the bogus tunbasedev, instead record the dev_t in our softc. >| >| Rely on the new an cloning friendlier semantics of make_dev(). >| >| Properly dismantle and remove the interface and destroy the dev_t >| at last close of the device. >| >| Remove code from MOD_UNLOAD to dismantle things. >| >| Remove the list used to hang the tunnels from, it is no longer needed. > > >-- >Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 >phk@FreeBSD.ORG | TCP/IP since RFC 956 >FreeBSD committer | BSD since 4.3-tahoe >Never attribute to malice what can adequately be explained by incompetence. >_______________________________________________ >freebsd-current@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-current >To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.