diff options
author | Claudiu Manoil <claudiu.manoil@nxp.com> | 2019-07-25 16:33:18 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-08-09 18:52:33 +0300 |
commit | eaa34bd4f7b5e505c6c211cb906f6a2ce2242e4c (patch) | |
tree | 8b418421fdf056c9ba66ac4784d5b4e9e0397573 /net | |
parent | cd7f02fecac188f3363ef1d420b284c2239947e0 (diff) | |
download | linux-eaa34bd4f7b5e505c6c211cb906f6a2ce2242e4c.tar.xz |
ocelot: Cancel delayed work before wq destruction
[ Upstream commit c5d139697d5d9ecf9c7cd92d7d7838a173508900 ]
Make sure the delayed work for stats update is not pending before
wq destruction.
This fixes the module unload path.
The issue is there since day 1.
Fixes: a556c76adc05 ("net: mscc: Add initial Ocelot switch support")
Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions