diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2016-07-19 15:37:53 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-07-21 00:46:01 +0300 |
commit | 09714275b1ce7877f318bbd6321da1def95697d7 (patch) | |
tree | 4275ce363952e2c26bdbf245e9de396cc97252ed /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 44fafdaa757cf251aade6c071f772ddb4e8a9885 (diff) | |
download | linux-09714275b1ce7877f318bbd6321da1def95697d7.tar.xz |
net: cpmac: fix error handling of cpmac_probe()
Add the missing free_netdev() before return from function
cpmac_probe() in the error handling case.
This patch revert commit 0465be8f4f1d ("net: cpmac: fix in
releasing resources"), which changed to only free_netdev
while register_netdev failed.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions