aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorYuval Basson <ybason@marvell.com>2020-03-25 22:50:43 +0200
committerDavid S. Miller <davem@davemloft.net>2020-03-29 21:50:17 -0700
commit3b85720d3fd72e6ef4de252cd2f67548eb645eb4 (patch)
tree42f2fd37cba5c75362538ae91df1283538a8ae4f /tools/perf/scripts/python/export-to-postgresql.py
parentnet: page pool: allow to pass zero flags to page_pool_init() (diff)
downloadwireguard-linux-3b85720d3fd72e6ef4de252cd2f67548eb645eb4.tar.xz
wireguard-linux-3b85720d3fd72e6ef4de252cd2f67548eb645eb4.zip
qed: Fix race condition between scheduling and destroying the slowpath workqueue
Calling queue_delayed_work concurrently with destroy_workqueue might race to an unexpected outcome - scheduled task after wq is destroyed or other resources (like ptt_pool) are freed (yields NULL pointer dereference). cancel_delayed_work prevents the race by cancelling the timer triggered for scheduling a new task. Fixes: 59ccf86fe ("qed: Add driver infrastucture for handling mfw requests") Signed-off-by: Denis Bolotin <dbolotin@marvell.com> Signed-off-by: Michal Kalderon <mkalderon@marvell.com> Signed-off-by: Yuval Basson <ybason@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions