kern/75121: Wrong behaviour of IFF_LINK2 bit in 6in6 gifs?
Hajimu UMEMOTO
ume at freebsd.org
Tue Jan 25 07:40:23 PST 2005
The following reply was made to PR kern/75121; it has been noted by GNATS.
From: Hajimu UMEMOTO <ume at freebsd.org>
To: Antonio Tapiador del Dujo <atapiador at dit.upm.es>
Cc: Hajimu UMEMOTO <ume at freebsd.org>,
FreeBSD-gnats-submit at freebsd.org, Gleb Smirnoff <glebius at 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 at 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 at mahoroba.org ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/
More information about the freebsd-bugs
mailing list