linux/drivers/infiniband
Erez Shitrit cda8daf179 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>
2018-08-02 20:27:19 -06:00
..
core IB/uverbs: Allow all DESTROY commands to succeed after disassociate 2018-08-01 14:55:48 -06:00
hw iw_cxgb4: Support FW write completion WR 2018-08-02 20:16:02 -06:00
sw RDMA/providers: Fix return value from create_srq callbacks 2018-07-30 20:29:45 -06:00
ulp IB/ipoib: Use cancel_delayed_work_sync for neigh-clean task 2018-08-02 20:27:19 -06:00
Kconfig RDMA/ucm: Mark UCM interface as BROKEN 2018-05-24 09:39:25 -06:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00