Date: Fri, 27 Jan 2006 08:17:05 +1300 From: Andrew Thompson <thompsa@freebsd.org> To: Thiago Damas <tdamas@gmail.com> Cc: freebsd-hackers@freebsd.org Subject: Re: if_bridge hangs ifconfig Message-ID: <20060126191705.GB33764@heff.fud.org.nz> In-Reply-To: <f8e3d83f0601261031v3d03c9f5r@mail.gmail.com> References: <f8e3d83f0601260849h6b39cbb2v@mail.gmail.com> <20060126172843.GA33764@heff.fud.org.nz> <f8e3d83f0601261031v3d03c9f5r@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 26, 2006 at 04:31:48PM -0200, Thiago Damas wrote: > 2006/1/26, Andrew Thompson <thompsa@freebsd.org>: > > On Thu, Jan 26, 2006 at 02:49:54PM -0200, Thiago Damas wrote: > > > I'm having some problems using if_bridge, in FreeBSD 6.0 RELEASE. > > > I have the following situation: > > > > > > When using the command "ifconfig bridge0 deletem vr0", its hangs, > > > and sometimes show the error: > > > vr0: refusing to decrement non-positive refcount 0for interface flag 256 > > > > This has been fixed in 6-STABLE and will work in the upcomming 6.1 > > release, see the 2005/11/16 entry in > > > > http://www.freebsd.org/releases/6.0R/errata.html > > > > I would advise upgrading to RELENG_6. > > > > How can I patch my system, 6.0-RELEASE for only this bug? I want to > minimize the downtime? Its possible? You can apply this patch http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/net/if_bridge.c.diff?r1=1.32&r2=1.34 If you are using modules then you dont even need to reboot, patch the file, make+install /sys/modules/if_bridge, kldunload+kldload. cheers, Andrew
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060126191705.GB33764>