commit | 8f622a7d512c567d24cfde1059002ffbb0bf1cb0 | [log] [tgz] |
---|---|---|
author | Huang Zijiang <huang.zijiang@zte.com.cn> | Thu Feb 14 14:41:45 2019 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Mar 23 20:09:46 2019 +0100 |
tree | 11c462836f5724a561ef8f5b9bc63b270db81ffd | |
parent | 33e83ea302c0b50c16b932c95334632654392094 [diff] |
net: hns: Fix object reference leaks in hns_dsaf_roce_reset() [ Upstream commit c969c6e7ab8cb42b5c787c567615474fdbad9d6a ] The of_find_device_by_node() takes a reference to the underlying device structure, we should release that reference. Signed-off-by: Huang Zijiang <huang.zijiang@zte.com.cn> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>