diff options
| author | Erez Shitrit <[email protected]> | 2018-07-29 11:34:52 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2018-08-02 20:27:19 -0600 |
| commit | cda8daf17914a261986d6d4b7294599736d5a463 (patch) | |
| tree | 553d54110be9ba0dd1cbd4485ea8c17a18cabdfb /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | 577e07ffbad9960551a6821b74af90a216ac10e2 (diff) | |
IB/ipoib: Use cancel_delayed_work_sync for neigh-clean task
The neigh_reap_task is self restarting, but so long as we call
cancel_delayed_work_sync() it will be guaranteed to not be running and
never start again. Thus we don't need to have the racy
IPOIB_STOP_NEIGH_GC bit, or the confusing mismatch of places sometimes
calling flush_workqueue after the cancel.
This fixes a situation where the GC work could have been left running
in some rare situations.
Signed-off-by: Erez Shitrit <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions