diff options
author | 2020-07-29 11:50:05 +0800 | |
---|---|---|
committer | 2020-07-30 16:55:39 -0700 | |
commit | 366228ed01f6882cc203e3d5b40010dfae0be1c3 (patch) | |
tree | f41f4ea9d59f4373389670359cc35a3720306855 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | devlink: ignore -EOPNOTSUPP errors on dumpit (diff) | |
download | wireguard-linux-366228ed01f6882cc203e3d5b40010dfae0be1c3.tar.xz wireguard-linux-366228ed01f6882cc203e3d5b40010dfae0be1c3.zip |
net: nixge: fix potential memory leak in nixge_probe()
If some processes in nixge_probe() fail, free_netdev(dev)
needs to be called to aviod a memory leak.
Fixes: 87ab207981ec ("net: nixge: Separate ctrl and dma resources")
Fixes: abcd3d6fc640 ("net: nixge: Fix error path for obtaining mac address")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Lu Wei <luwei32@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions