linux/drivers/infiniband
Shiraz Saleem 7cc603e9a8 i40iw: Use correct src address in memcpy to rdma stats counters
commit 91c42b72f8 upstream.

hw_stats is a pointer to i40_iw_dev_stats struct in i40iw_get_hw_stats().
Use hw_stats and not &hw_stats in the memcpy to copy the i40iw device stats
data into rdma_hw_stats counters.

Fixes: b40f4757da ("IB/core: Make device counter infrastructure dynamic")

Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Faisal Latif <faisal.latif@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2017-01-09 08:32:24 +01:00
..
core IB/multicast: Check ib_find_pkey() return value 2017-01-09 08:32:23 +01:00
hw i40iw: Use correct src address in memcpy to rdma stats counters 2017-01-09 08:32:24 +01:00
sw IB/rxe: Fix a memory leak in rxe_qp_cleanup() 2017-01-09 08:32:23 +01:00
ulp IPoIB: Avoid reading an uninitialized member variable 2017-01-09 08:32:23 +01:00
Kconfig qedr: Add RoCE driver framework 2016-10-14 15:00:10 -04:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00