summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2022-03-08 12:15:10 +0300
committerDavid S. Miller <davem@davemloft.net>2022-03-09 14:12:09 +0300
commit0832cd9f1f023226527e95002d537123061ddac4 (patch)
tree0eae4bf23e6c42e102004865a07f3982b8b2ae07 /tools/perf/scripts/python/exported-sql-viewer.py
parentce7ec1b8ec784c7fe0f6180a82725ca577d12aa8 (diff)
downloadlinux-0832cd9f1f023226527e95002d537123061ddac4.tar.xz
net: dsa: warn if port lists aren't empty in dsa_port_teardown
There has been recent work towards matching each switchdev object addition with a corresponding deletion. Therefore, having elements in the fdbs, mdbs, vlans lists at the time of a shared (DSA, CPU) port's teardown is indicative of a bug somewhere else, and not something that is to be expected. We shouldn't try to silently paper over that. Instead, print a warning and a stack trace. This change is a prerequisite for moving the initialization/teardown of these lists. Make it clear that clearing the lists isn't needed. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions