Re: [PATCH net] net: hns: Fixes the missing put_device in positive leg for roce reset

From: David Miller
Date: Mon Feb 18 2019 - 20:45:40 EST


From: Salil Mehta <salil.mehta@xxxxxxxxxx>
Date: Mon, 18 Feb 2019 17:40:32 +0000

> 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@xxxxxxxxxx>
> Signed-off-by: Salil Mehta <salil.mehta@xxxxxxxxxx>

Applied, thanks Salil.