diff options
| author | Tadeusz Struk <[email protected]> | 2017-03-20 17:25:35 -0700 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2017-04-05 14:45:09 -0400 |
| commit | 62eed66e98b4c2286fef2ce5911d8d75b7515f7b (patch) | |
| tree | ffc487a61386670b9fea0621b4ec364b57ce445d /tools/perf/scripts/python | |
| parent | 5d6f08afdd394c0b162cefe383093aace3e94e39 (diff) | |
IB/hfi1: Protect the global dev_cntr_names and port_cntr_names
Protect the global dev_cntr_names and port_cntr_names with the global
mutex as they are allocated and freed in a function called per device.
Otherwise there is a danger of double free and memory leaks.
Reviewed-by: Dennis Dalessandro <[email protected]>
Reviewed-by: Easwar Hariharan <[email protected]>
Signed-off-by: Tadeusz Struk <[email protected]>
Signed-off-by: Dennis Dalessandro <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions