aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorHaggai Eran <haggaie@mellanox.com>2014-05-18 04:12:26 -0400
committerRoland Dreier <roland@purestorage.com>2014-06-05 12:37:10 -0400
commit584482ac80e13250061fcc85ea8a68c6a31d5033 (patch)
treeb9eefa0626e08356cf91ff57849c78dab63dc183 /README
parentcad6d02acc13b6360e4525f86adb6a8932501e15 (diff)
IB/core: Fix kobject leak on device register error flow
The ports kobject isn't being released during error flow in device registration. This patch refactors the ports kobject cleanup into a single function called from both the error flow in device registration and from the unregistration function. A couple of attributes aren't being deleted (iw_stats_group, and ib_class_attributes). While this may be handled implicitly by the destruction of their kobjects, it seems better to handle all the attributes the same way. Signed-off-by: Haggai Eran <haggaie@mellanox.com> [ Make free_port_list_attributes() static. - Roland ] Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions