diff options
| author | Razvan Stefanescu <[email protected]> | 2019-07-05 17:27:13 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-07-22 07:34:13 +0200 |
| commit | 7dbac0c9a1c4a86be928e2b13398346ca5b57233 (patch) | |
| tree | 1df2bb471dc7c91dc50a9075ff3f0b8cdc867b57 /tools/perf/scripts/python/stackcollapse.py | |
| parent | b2fdbfa91b8c54c8884323b8914b0a7b81e67fc2 (diff) | |
staging: fsl-dpaa2/ethsw: Remove netdevice on port probing error
If the ethsw_port_init() call failed, the netdevice remains registered in
the system.
Use labels to ensure that netdevice is unregistered and freed in this case.
Signed-off-by: Razvan Stefanescu <[email protected]>
Signed-off-by: Ioana Ciornei <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions