cvs commit: src/sys/netgraph ng_fec.c
Ruslan Ermilov
ru at FreeBSD.org
Fri Nov 4 07:42:02 PST 2005
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
More information about the cvs-src
mailing list