Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Feb 2002 11:58:30 +0100
From:      Mark Santcroos <>
To:        Brooks Davis <>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: Ethernet tunnel device
Message-ID:  <>
In-Reply-To: <20020211121432.A22389@Odin.AC.HMC.Edu>; from on Mon, Feb 11, 2002 at 12:14:32PM -0800
References:  <> <20020211121432.A22389@Odin.AC.HMC.Edu>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Mon, Feb 11, 2002 at 12:14:32PM -0800, Brooks Davis wrote:
> It sounds like there's some sort of a bug in the close code.  You are
> sure the previous instance is really gone, right?  If it is, that's
> another issue.

The tapclose() function is not called at all in this case. (I've put some
debugging statement in the tap driver)
I don't understand because I do see a successful close() from vmware
(using ktrace).

Writing a simple app that opens '/dev/vmnet1' and closes it again works

What would be the difference for this simple case and the vmware case?
(I also made a linux binary of the same simple program and that one works 
too, just to be sure)

Making a simple (and very possible wrong) conclusion is that the open call
gets lost between userland and the driver. (vfs layer?)

Any hints on where too look further would be very helpful.


Mark Santcroos				RIPE Network Coordination Centre		New Projects Group/TTM

To Unsubscribe: send mail to
with "unsubscribe freebsd-current" in the body of the message

Want to link to this message? Use this URL: <>