Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jun 2001 22:23:50 +0200
From:      Milon Papezik <Milon.Papezik@oskarmobil.cz>
To:        "'freebsd-hackers@freebsd.net'" <freebsd-hackers@freebsd.net>, "'freebsd-net@freebsd.org'" <freebsd-net@freebsd.org>
Subject:   Netgraph ng_fec module (from wpaul)
Message-ID:  <11CCE9D433CFD311B32A00508B95BCA005E4A2D1@wh01ex02.ceskymobil.cz>

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

I tested the ng_fec module from http://www.freebsd.org/~wpaul/FEC
and I think I found an error in implementation from 4.x.

There is a difference between 4.x and 5.x version of netgraph/ng_fec.c at
line 313(312)
in manipulation with reffernce counts:

313c312
<       ng_units_in_use++;
---
>       ng_units_in_use--;

Could someone please try comment what is correct (5.x seems to be right) ?

Also could this be possible cause of panics when one of the underlaying
interfaces
was shut down using 'ifconfig fxp0 down' ? (it seems to work after change to
decrement in 4.x version).

	Thanks in advance,
	Milon
--
milon.papezik@oskarmobil.cz


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




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