Opened 13 years ago
Last modified 13 years ago
#3 assigned defect
Handle resource leaks from driver detach routines
| Reported by: | john | Owned by: | john |
|---|---|---|---|
| Priority: | major | Component: | kernel |
| Version: | Keywords: | PCI | |
| Cc: | Blocked By: | ||
| Blocking: | Parent Tickets: | ||
| P4 Branch: | //depot/projects/pci/... | GIT Branch: | |
| FreeBSD PR: | Due Date: |
Description (last modified by john)
Release active resources when a device is detached.
Change History (9)
comment:1 Changed 13 years ago by john
- Owner set to john
- Status changed from new to assigned
comment:2 Changed 13 years ago by john
- Status changed from assigned to started
comment:3 Changed 13 years ago by john
comment:4 Changed 13 years ago by john
- Status changed from started to infoneeded
comment:5 Changed 13 years ago by john
- Status changed from infoneeded to assigned
Patch posted to new-bus@ and sent to Warner.
comment:6 Changed 13 years ago by john
- Status changed from assigned to infoneeded
comment:7 Changed 13 years ago by john
- Status changed from infoneeded to assigned
comment:8 Changed 13 years ago by john
- Description modified (diff)
comment:9 Changed 13 years ago by john
The first pass at this was committed in r252315. Next up is to figure out a strategy for active interrupt handlers.
Note: See
TracTickets for help on using
tickets.

I tested with a dummy driver that intentionally leaked a memory BAR both in probe and in detach and this worked fine for both cases.