On Sun, Jun 21, 2020 at 02:00:00PM +0300, Leon Romanovsky wrote: > From: Mark Zhang <markz@xxxxxxxxxxxx> > > Query a dynamically-allocated counter before release it, to update it's > hwcounters and log all of them into history data. Otherwise all values > of these hwcounters will be lost. > > Fixes: f34a55e497e8 ("RDMA/core: Get sum value of all counters when perform a sysfs stat read") > Signed-off-by: Mark Zhang <markz@xxxxxxxxxxxx> > Reviewed-by: Maor Gottlieb <maorg@xxxxxxxxxxxx> > Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxxxx> > --- > drivers/infiniband/core/counters.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) Applied to for-rc, thanks Jason