summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorTaehee Yoo <ap420073@gmail.com>2021-11-16 17:09:23 +0100
committerJakub Kicinski <kuba@kernel.org>2021-11-17 04:14:12 +0100
commitb0024a04e48837b6556a080ff37ecd8351632596 (patch)
treecdb8ffc63102c55e4030e73d5da976e61a50a159 /net
parentMAINTAINERS: remove GR-everest-linux-l2@marvell.com (diff)
downloadlinux-b0024a04e48837b6556a080ff37ecd8351632596.tar.xz
linux-b0024a04e48837b6556a080ff37ecd8351632596.zip
amt: cancel delayed_work synchronously in amt_fini()
When the amt module is being removed, it calls cancel_delayed_work() to cancel pending delayed_work. But this function doesn't wait for canceling delayed_work. So, workers can be still doing after module delete. In order to avoid this, cancel_delayed_work_sync() should be used instead. Suggested-by: Jakub Kicinski <kuba@kernel.org> Fixes: bc54e49c140b ("amt: add multicast(IGMP) report message handler") Signed-off-by: Taehee Yoo <ap420073@gmail.com> Link: https://lore.kernel.org/r/20211116160923.25258-1-ap420073@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions