linux/drivers/infiniband
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
..
core IB/core: Change completion channel to use the reworked objects schema 2017-04-05 13:28:04 -04:00
hw IB/hfi1: Protect the global dev_cntr_names and port_cntr_names 2017-04-05 14:45:09 -04:00
sw IB/rdmavt: Add tracing for cq entry and poll 2017-04-05 14:45:09 -04:00
ulp IB/IPoIB: ibX: failed to create mcg debug file 2017-04-05 13:47:24 -04:00
Kconfig RDMA/bnxt_re: Add bnxt_re driver build support 2017-02-14 09:51:28 -05:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00