Project

General

Profile

Actions

Bug #12758

closed

ufm_detach doesn't properly clean up

Added by Robert Mustacchi about 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Category:
driver - device drivers
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

While iterating on some ufm related issues, I noticed that the ufm_attach(9E) was failing. The attach routine is very simple. It basically checks the command and whether or not a global dev_info is NULL. Unfortunately ufm_detach never cleans this up. The simple solution is to make sure detach NULLs this out. With this in place I've been able to see attach and detach occur in DTrace on debug bits quite frequently.

Actions

Also available in: Atom PDF