Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Mar 2010 22:06:40 +0000
From:      Paul B Mahol <onemda@gmail.com>
To:        Qing Li <qingli@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r205024 - head/sys/net
Message-ID:  <3a142e751003131406y5ba76e3ckcd0e9b4626089faa@mail.gmail.com>
In-Reply-To: <201003111756.o2BHukJu042449@svn.freebsd.org>
References:  <201003111756.o2BHukJu042449@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3/11/10, Qing Li <qingli@freebsd.org> wrote:
> Author: qingli
> Date: Thu Mar 11 17:56:46 2010
> New Revision: 205024
> URL: http://svn.freebsd.org/changeset/base/205024
>
> Log:
>   The if_tap interface is of IFT_ETHERNET type, but it
>   does not set or update the if_link_state variable.
>   As such RT_LINK_IS_UP() fails for the if_tap interface.
>
>   Also, the RT_LINK_IS_UP() needs to bypass all loopback
>   interfaces because loopback interfaces are considered
>   up logically as long as the system is running.
>
>   This patch fixes the above issues by setting and updating
>   the if_link_state variable when the tap interface is
>   opened or closed respectively. Similary approach is
>   already done in the if_tun device.
>
>   MFC after:	3 days
>
> Modified:
>   head/sys/net/if_tap.c
>   head/sys/net/route.h

Look at /sys/dev/if_ndis.c it is still broken.



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