Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jun 2005 01:14:53 +0900
From:      Hajimu UMEMOTO <ume@FreeBSD.org>
To:        "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/netinet in_gif.c
Message-ID:  <yger7exj98i.wl%ume@mahoroba.org>
In-Reply-To: <Pine.BSF.4.53.0506201207500.69832@e0-0.zab2.int.zabbadoz.net>
References:  <200506200839.j5K8dUFm009042@repoman.freebsd.org> <ygebr61s36m.wl%ume@mahoroba.org> <Pine.BSF.4.53.0506201207500.69832@e0-0.zab2.int.zabbadoz.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

>>>>> On Mon, 20 Jun 2005 12:10:40 +0000 (UTC)
>>>>> "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> said:

bzeeb-lists> I cannot test it but it looks the same.

There are differences slightly. :)

bzeeb-lists> If this works for you either commit it yourself w/ re@ approval or let
bzeeb-lists> me know.
bzeeb-lists> http://sources.zabbadoz.net/freebsd/patchset/sys-netinet6-in6_gif.c.diff

Okay, I'll do it after some tests, later.

bzeeb-lists> +	sc = (struct gif_softc *)encap_getarg(m);
bzeeb-lists> +	if (sc == NULL) {
bzeeb-lists> +		m_freem(m);
bzeeb-lists> +		ipstat.ips_nogif++;
bzeeb-lists> +		return;
bzeeb-lists> +	}

It should be:

	sc = (struct gif_softc *)encap_getarg(m);
	if (sc == NULL) {
		m_freem(m);
		ip6stat.ip6s_nogif++;
		return IPPROTO_DONE;
	}

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?yger7exj98i.wl%ume>