diff options
author | Florian Fainelli <[email protected]> | 2019-11-02 20:17:39 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-11-05 17:54:59 -0800 |
commit | e684000b8a2b1e14b9f8ebd72dfd998d44a864ca (patch) | |
tree | 43d0f844fb34ceefa1edfe375d91e6dc07d79ebb /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 59eb87cb52c9f7164804bc8639c4d03ba9b0c169 (diff) |
net: dsa: bcm_sf2: Fix driver removal
With the DSA core doing the call to dsa_port_disable() we do not need to
do that within the driver itself. This could cause an use after free
since past dsa_unregister_switch() we should not be accessing any
dsa_switch internal structures.
Fixes: 0394a63acfe2 ("net: dsa: enable and disable all ports")
Signed-off-by: Florian Fainelli <[email protected]>
Reviewed-by: Vivien Didelot <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions