cvs commit: src/sys/netinet in_gif.c

Hajimu UMEMOTO ume at FreeBSD.org
Mon Jun 20 16:15:29 GMT 2005


Hi,

>>>>> On Mon, 20 Jun 2005 12:10:40 +0000 (UTC)
>>>>> "Bjoern A. Zeeb" <bzeeb-lists at 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 at mahoroba.org  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/


More information about the cvs-src mailing list