cvs commit: src/sys/dev/re if_re.c
ru at FreeBSD.org
Thu Sep 15 11:59:37 PDT 2005
ru 2005-09-15 18:59:34 UTC
FreeBSD src repository
- 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.
Revision Changes Path
1.52 +7 -15 src/sys/dev/re/if_re.c
More information about the cvs-src