Linux/linux 4d96e13 — drivers/net/ethernet/hisilicon/hns hns_dsaf_main.c
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 at huawei.com> Signed-off-by: Salil Mehta <salil.mehta at huawei.com> Signed-off-by: David S. Miller <davem at davemloft.net>
Delta | File | |
---|---|---|
+3 | -0 | drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c |
+3 | -0 | 1 files |