aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorIdo Schimmel <[email protected]>2016-06-20 23:04:20 +0200
committerDavid S. Miller <[email protected]>2016-06-21 05:02:51 -0400
commit1c800759078d400a02ed4ed1655672ea5fdcfd66 (patch)
treed44ad9fd9bcb11fb163c4868d21b34669f9e09a5 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentfe3f6d144a843c9845d2eccb78fe72d1bebae0e9 (diff)
mlxsw: spectrum: Free resources upon vPort destruction
There are situations in which a vPort is destroyed while still holding references to device's resources such as FIDs and FDB records. This can happen, for example, when a VLAN device is deleted while still being bridged. Instead of trying to make sure vPort destruction is invoked when it no longer uses device's resources, just free them upon destruction. This simplifies the code, as we no longer need to take different situations into account when events are received - cleanup is taken care of in one place. Signed-off-by: Ido Schimmel <[email protected]> Signed-off-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions