aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorVladimir Oltean <[email protected]>2021-10-24 20:17:48 +0300
committerDavid S. Miller <[email protected]>2021-10-25 12:59:41 +0100
commit232deb3f9567ce37d99b8616a6c07c1fc0436abf (patch)
treec0e92ee7f9edaa195d463d29201d0fbec5833275 /tools/perf/scripts/python/intel-pt-events.py
parent2d7e73f09fc2f5d968ca375f047718cf25ae2b92 (diff)
net: dsa: avoid refcount warnings when ->port_{fdb,mdb}_del returns error
At present, when either of ds->ops->port_fdb_del() or ds->ops->port_mdb_del() return a non-zero error code, we attempt to save the day and keep the data structure associated with that switchdev object, as the deletion procedure did not complete. However, the way in which we do this is suspicious to the checker in lib/refcount.c, who thinks it is buggy to increment a refcount that became zero, and that this is indicative of a use-after-free. Fixes: 161ca59d39e9 ("net: dsa: reference count the MDB entries at the cross-chip notifier level") Signed-off-by: Vladimir Oltean <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions