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

2019-02-18 Thread David Miller
From: Salil Mehta Date: Mon, 18 Feb 2019 17:40:32 + > 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

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

2019-02-18 Thread Salil Mehta
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 Signed-off-by: Salil Mehta --- drivers/net/ethernet/hisilicon