linux_dsm_epyc7002/drivers/net/ethernet/hisilicon
Johan Hovold 2271150bfb net: hns: fix device reference leaks
Make sure to drop the reference taken by class_find_device() in
hnae_get_handle() on errors and when later releasing the handle.

Fixes: 6fe6611ff2 ("net: add Hisilicon Network Subsystem...")
Cc: Yisen Zhuang <yisen.zhuang@huawei.com>
Cc: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-11-07 13:17:30 -05:00
..
hns net: hns: fix device reference leaks 2016-11-07 13:17:30 -05:00
hip04_eth.c net: hip04: mark tx_done() static 2016-09-26 02:23:39 -04:00
hisi_femac.c net: hisilicon: mark symbols static where possible 2016-09-26 02:23:39 -04:00
hix5hd2_gmac.c net: hisilicon: constify ethtool_ops structures 2016-08-31 09:22:31 -07:00
hns_mdio.c net: hisilicon: Fix hns_mdio module autoload for OF registration 2016-10-17 13:03:03 -04:00
Kconfig net: hisilicon: Add Fast Ethernet MAC driver 2016-07-16 21:32:58 -07:00
Makefile net: hisilicon: Add Fast Ethernet MAC driver 2016-07-16 21:32:58 -07:00