aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include
diff options
context:
space:
mode:
authorDinghao Liu <dinghao.liu@zju.edu.cn>2020-08-24 13:44:42 +0800
committerDavid S. Miller <davem@davemloft.net>2020-08-24 05:52:54 -0700
commit100e3345c6e719d2291e1efd5de311cc24bb9c0b (patch)
tree8cd93da2e57391896eb68afedb830d0742849bb5 /include
parentMerge tag 'powerpc-5.9-3' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux (diff)
downloadwireguard-linux-100e3345c6e719d2291e1efd5de311cc24bb9c0b.tar.xz
wireguard-linux-100e3345c6e719d2291e1efd5de311cc24bb9c0b.zip
net: hns: Fix memleak in hns_nic_dev_probe
hns_nic_dev_probe allocates ndev, but not free it on two error handling paths, which may lead to memleak. Fixes: 63434888aaf1b ("net: hns: net: hns: enet adds support of acpi") Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions