Skip to content
Commit c8c88293 authored by Salil Mehta's avatar Salil Mehta Committed by Greg Kroah-Hartman
Browse files

net: hns: Fixes the missing put_device in positive leg for roce reset



[ Upstream commit 4d96e13e ]

This patch fixes the missing device reference release-after-use in
the positive leg of the roce reset API of the HNS DSAF.

Fixes: c969c6e7 ("net: hns: Fix object reference leaks in hns_dsaf_roce_reset()")
Reported-by: default avatarJohn Garry <john.garry@huawei.com>
Signed-off-by: default avatarSalil Mehta <salil.mehta@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 6bf96773
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment