linux/drivers/infiniband/hw
Tadeusz Struk 62eed66e98 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 <dennis.dalessandro@intel.com>
Reviewed-by: Easwar Hariharan <easwar.hariharan@intel.com>
Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-04-05 14:45:09 -04:00
..
bnxt_re This is a tree wide change and has been kept separate for that reason. 2017-02-25 13:45:43 -08:00
cxgb3 sched/headers: Prepare to remove the <linux/mm_types.h> dependency from <linux/sched.h> 2017-03-02 08:42:37 +01:00
cxgb4 sched/headers: Prepare to remove the <linux/mm_types.h> dependency from <linux/sched.h> 2017-03-02 08:42:37 +01:00
hfi1 IB/hfi1: Protect the global dev_cntr_names and port_cntr_names 2017-04-05 14:45:09 -04:00
hns IB/hns: Explicitly include linux/of.h 2017-04-05 13:45:53 -04:00
i40iw This is a tree wide change and has been kept separate for that reason. 2017-02-25 13:45:43 -08:00
mlx4 sched/headers: Prepare to move the get_task_struct()/put_task_struct() and related APIs from <linux/sched.h> to <linux/sched/task.h> 2017-03-02 08:42:40 +01:00
mlx5 sched/headers: Prepare to move the get_task_struct()/put_task_struct() and related APIs from <linux/sched.h> to <linux/sched/task.h> 2017-03-02 08:42:40 +01:00
mthca This is a tree wide change and has been kept separate for that reason. 2017-02-25 13:45:43 -08:00
nes This is a tree wide change and has been kept separate for that reason. 2017-02-25 13:45:43 -08:00
ocrdma This is a tree wide change and has been kept separate for that reason. 2017-02-25 13:45:43 -08:00
qedr This is a tree wide change and has been kept separate for that reason. 2017-02-25 13:45:43 -08:00
qib IB/rdmavt, IB/hfi1, IB/qib: Make wc opcode translation driver dependent 2017-04-05 14:45:09 -04:00
usnic sched/headers: Prepare for new header dependencies before moving code to <linux/sched/signal.h> 2017-03-02 08:42:29 +01:00
vmw_pvrdma This is a tree wide change and has been kept separate for that reason. 2017-02-25 13:45:43 -08:00
Makefile RDMA/bnxt_re: Add bnxt_re driver build support 2017-02-14 09:51:28 -05:00