Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Feb 2002 11:13:58 -0800
From:      whoever <somebody@kashmir.etowns.net>
To:        Mark Santcroos <marks@ripe.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Ethernet tunnel device
Message-ID:  <20020213111358.A3235@kashmir.etowns.net>
In-Reply-To: <20020212074327.A3466@laptop.6bone.nl>; from marks@ripe.net on Tue, Feb 12, 2002 at 07:43:27AM %2B0100
References:  <20020211032336.A2135@kashmir.etowns.net> <20020211170131.A79104@laptop.6bone.nl> <20020212074327.A3466@laptop.6bone.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
FROM: Mark SantcroosDATE: 02/12/2002 02:58:30SUBJECT: RE:  Ethernet tunnel device 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

how come it gets lost in the vmware case and not in your simple app.
also does ifconfig report that the vmnet device is opened by the pid
of your app between open and close of the simple app?

I dont know much either just some shots in the dark!!

Saurabh


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?20020213111358.A3235>