Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 87159
b: refs/heads/master
c: 84ba284
h: refs/heads/master
i:
  87157: 1528025
  87155: 256f061
  87151: 43a7da6
v: v3
  • Loading branch information
Sean Hefty authored and Roland Dreier committed Feb 29, 2008
1 parent 519b422 commit 227a606
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 18b8c8f170ce346b88884ebe4060cd6dbe64e1cc
refs/heads/master: 84ba284cd78c130818e2de53150f39b92504593b
3 changes: 2 additions & 1 deletion trunk/drivers/infiniband/core/cm.c
Original file line number Diff line number Diff line change
Expand Up @@ -3759,6 +3759,7 @@ static void cm_remove_one(struct ib_device *device)
port = cm_dev->port[i-1];
ib_modify_port(device, port->port_num, 0, &port_modify);
ib_unregister_mad_agent(port->mad_agent);
flush_workqueue(cm.wq);
cm_remove_port_fs(port);
}
kobject_put(&cm_dev->dev_obj);
Expand Down Expand Up @@ -3813,14 +3814,14 @@ static void __exit ib_cm_cleanup(void)
cancel_delayed_work(&timewait_info->work.work);
spin_unlock_irq(&cm.lock);

ib_unregister_client(&cm_client);
destroy_workqueue(cm.wq);

list_for_each_entry_safe(timewait_info, tmp, &cm.timewait_list, list) {
list_del(&timewait_info->list);
kfree(timewait_info);
}

ib_unregister_client(&cm_client);
class_unregister(&cm_class);
idr_destroy(&cm.local_id_table);
}
Expand Down

0 comments on commit 227a606

Please sign in to comment.