commit | 4d96e13ee9cd1f7f801e8c7f4b12f09d1da4a5d8 | [log] [tgz] |
---|---|---|
author | Salil Mehta <salil.mehta@huawei.com> | Mon Feb 18 17:40:32 2019 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Feb 18 17:45:00 2019 -0800 |
tree | 1bf746b882ec2191b4b467ed953eb837fbd4da10 | |
parent | 92a8c299a75d1397551bc067f6a26211346abf15 [diff] |
net: hns: Fixes the missing put_device in positive leg for roce reset This patch fixes the missing device reference release-after-use in the positive leg of the roce reset API of the HNS DSAF. Fixes: c969c6e7ab8c ("net: hns: Fix object reference leaks in hns_dsaf_roce_reset()") Reported-by: John Garry <john.garry@huawei.com> Signed-off-by: Salil Mehta <salil.mehta@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>