aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2018-08-29 12:46:08 -0700
committerDavid S. Miller <[email protected]>2018-08-31 23:01:30 -0700
commit9ad716b95fd6c6be46a4f2d5936e514b5bcd744d (patch)
treefa1892e0f5434647c80e829f98cb11ac68159c93 /tools/perf/scripts/python/call-graph-from-sql.py
parent3a7ad0634f0986d807772ba74f66f7c3a73612e5 (diff)
nfp: wait for posted reconfigs when disabling the device
To avoid leaking a running timer we need to wait for the posted reconfigs after netdev is unregistered. In common case the process of deinitializing the device will perform synchronous reconfigs which wait for posted requests, but especially with VXLAN ports being actively added and removed there can be a race condition leaving a timer running after adapter structure is freed leading to a crash. Add an explicit flush after deregistering and for a good measure a warning to check if timer is running just before structures are freed. Fixes: 3d780b926a12 ("nfp: add async reconfiguration mechanism") Signed-off-by: Jakub Kicinski <[email protected]> Reviewed-by: Dirk van der Merwe <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions