aboutsummaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorErez Shitrit <erezsh@mellanox.com>2018-07-29 11:34:52 +0300
committerJason Gunthorpe <jgg@mellanox.com>2018-08-02 20:27:19 -0600
commitcda8daf17914a261986d6d4b7294599736d5a463 (patch)
tree553d54110be9ba0dd1cbd4485ea8c17a18cabdfb /fs
parent577e07ffbad9960551a6821b74af90a216ac10e2 (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 <erezsh@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions