aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorMoshe Shemesh <[email protected]>2023-10-25 17:49:59 +0000
committerJason Gunthorpe <[email protected]>2023-10-31 13:57:49 +0000
commita53e215f90079f617360439b1b6284820731e34c (patch)
tree6076b4962e4f05b1210746ba68230703e529a306 /drivers/net/xen-netback/interface.c
parentMerge tag 'v6.6' into rdma.git for-next (diff)
downloadkernel-a53e215f90079f617360439b1b6284820731e34c.tar.gz
kernel-a53e215f90079f617360439b1b6284820731e34c.zip
RDMA/mlx5: Fix mkey cache WQ flush
The cited patch tries to ensure no pending works on the mkey cache workqueue by disabling adding new works and call flush_workqueue(). But this workqueue also has delayed works which might still be pending the delay time to be queued. Add cancel_delayed_work() for the delayed works which waits to be queued and then the flush_workqueue() will flush all works which are already queued and running. Fixes: 374012b00457 ("RDMA/mlx5: Fix mkey cache possible deadlock on cleanup") Link: https://lore.kernel.org/r/b8722f14e7ed81452f791764a26d2ed4cfa11478.1698256179.git.leon@kernel.org Signed-off-by: Moshe Shemesh <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions