Date: Fri, 4 Nov 2005 15:42:02 +0000 (UTC) From: Ruslan Ermilov <ru@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netgraph ng_fec.c Message-ID: <200511041542.jA4Fg2MK009992@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ru 2005-11-04 15:42:02 UTC
FreeBSD src repository
Modified files:
sys/netgraph ng_fec.c
Log:
Bring some level of stability to this driver:
- Disallow bundle reconfiguration when virtual
interface is running; otherwise, removing a
port from a running configuration will cause
a panic in the start() method on the next packet
on an assumption that a bundle has an even
number of ports (2 or 4).
- Disallow bringing of virtual interface to a
running state when a bundle size is 0; otherwise,
adding and then removing the port will similarly
cause a panic.
- Add missing initialization of fec_ifstat when
adding a new port and fix media status reporting
when virtual interface isn't yet up (check for
fec_status of 1 rather than != 0).
Revision Changes Path
1.23 +19 -3 src/sys/netgraph/ng_fec.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511041542.jA4Fg2MK009992>
