pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/42471



OBATA Akio wrote:
> The following reply was made to PR pkg/42471; it has been noted by GNATS.
>
> From: "OBATA Akio" <obache%netbsd.org@localhost>
> To: gnats-bugs%netbsd.org@localhost
> Cc: 
> Subject: Re: pkg/42471
> Date: Sun, 20 Dec 2009 17:29:56 +0900
>
>  Is this issue same as PR#37003?
>  If so, it seems that suggested patch is wrong approach.
>  
>
>   

Indeed, it is the same bug. But I don't quite agree with:

        This is due to NetBSD handling tap device name differently,
        it does not allow an fstat, but uses an ioctl instead.
        Below is a patch I used to fix this.


(found here: http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=37003)

In my oppinion (correct me if I'm wrong) the specified device ("-net
tap,ifname=tapX") /dev/tapX should be used as parameter for the tap_open
function. The provided patch (for PR#37003) might be the better
solution. Since I'm quite new to NetBSD and its internals. it is up to
you to decide which one applies better to NetBSD.

Btw: PR#37003 was reported in 2007. How comes the same malfunction is
still existent?

-- 
Victor Dorneanu




Home | Main Index | Thread Index | Old Index