diff options
author | ru <ru@FreeBSD.org> | 2005-09-15 18:59:34 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2005-09-15 18:59:34 +0000 |
commit | 3d19005d33ac59832be65b17d5419bc9e80ab156 (patch) | |
tree | b7093cc58755d83340e23766a26cad62368cba81 /sys/dev/io | |
parent | 96a74ed6d2d1d7673ad0e354a7224e2468151c6b (diff) | |
download | FreeBSD-src-3d19005d33ac59832be65b17d5419bc9e80ab156.zip FreeBSD-src-3d19005d33ac59832be65b17d5419bc9e80ab156.tar.gz |
re_detach() fixes:
- Fixed if_free() logic screw-up that can either result
in freeing a NULL pointer or leaking "struct ifnet".
- Move if_free() after re_stop(); the latter accesses
"struct ifnet". This bug was masked by a previous bug.
- Restore the fix for a panic on detach caused by racing
with BPF detach code by Bill by moving ether_ifdetach()
after re_stop() and resetting IFF_UP; this got screwed
up in revs. 1.30 and 1.36.
Diffstat (limited to 'sys/dev/io')
0 files changed, 0 insertions, 0 deletions