cvs commit: src/sys/dev/mii mlphy.c tlphy.c
Warner Losh
imp at FreeBSD.org
Sat Aug 23 15:29:37 UTC 2008
imp 2008-08-23 15:29:28 UTC
FreeBSD src repository
Modified files:
sys/dev/mii mlphy.c tlphy.c
Log:
SVN rev 182064 on 2008-08-23 15:29:28Z by imp
It turns out that my analysis of the error handling here was wrong.
When there's an error, we don't want to free the children, since it
will be stack garbage. While we did fail to dereference it by setting
devs to 0, we didn't fail to call free. We never failed to fail, it
was the easiest thing to do.
Revision Changes Path
1.24 +7 -7 src/sys/dev/mii/mlphy.c
1.24 +2 -3 src/sys/dev/mii/tlphy.c
More information about the cvs-src
mailing list