Date: Tue, 25 Jan 2005 15:40:22 GMT From: Hajimu UMEMOTO <ume@freebsd.org> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/75121: Wrong behaviour of IFF_LINK2 bit in 6in6 gifs? Message-ID: <200501251540.j0PFeMRo071111@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/75121; it has been noted by GNATS.
From: Hajimu UMEMOTO <ume@freebsd.org>
To: Antonio Tapiador del Dujo <atapiador@dit.upm.es>
Cc: Hajimu UMEMOTO <ume@freebsd.org>,
FreeBSD-gnats-submit@freebsd.org, Gleb Smirnoff <glebius@freebsd.org>
Subject: Re: kern/75121: Wrong behaviour of IFF_LINK2 bit in 6in6 gifs?
Date: Wed, 26 Jan 2005 00:30:53 +0900
Hi,
>>>>> On Tue, 25 Jan 2005 15:57:48 +0100
>>>>> Antonio Tapiador del Dujo <atapiador@dit.upm.es> said:
atapiador> But now IFF_LINK2 does not turn off ingress filter.
atapiador> Either kernel code or man page should be modified because one is
atapiador> inconsistent with the other.
No, it does. You can find following chunk in in6_gif.cgif_validate6()
in6_gif.c:
/* ingress filters on outer source */
if ((sc->gif_if.if_flags & IFF_LINK2) == 0 && ifp) {
The check you pointed out is not an ingress filter.
Sincerely,
--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
ume@mahoroba.org ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501251540.j0PFeMRo071111>
