Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Feb 2002 11:58:30 +0100
From:      Mark Santcroos <marks@ripe.net>
To:        Brooks Davis <brooks@one-eyed-alien.net>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: Ethernet tunnel device
Message-ID:  <20020212115830.H474@laptop.6bone.nl>
In-Reply-To: <20020211121432.A22389@Odin.AC.HMC.Edu>; from brooks@one-eyed-alien.net on Mon, Feb 11, 2002 at 12:14:32PM -0800
References:  <20020211032336.A2135@kashmir.etowns.net> <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
fine.

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

-- 
Mark Santcroos				RIPE Network Coordination Centre
http://www.ripe.net/home/mark/		New Projects Group/TTM

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020212115830.H474>