diff options
author | Selvin Xavier <selvin.xavier@broadcom.com> | 2018-02-15 21:20:13 -0800 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2018-02-20 11:59:47 -0500 |
commit | 7374fbd9e167ddc4f380d056ca74518be5d45518 (patch) | |
tree | 6481dd80c9b23c758b48285cb462ce72e6909034 /drivers/nvdimm | |
parent | dcdaba08062b4726500b9456f8664bfda896c664 (diff) | |
download | linux-7374fbd9e167ddc4f380d056ca74518be5d45518.tar.bz2 |
RDMA/bnxt_re: Avoid system hang during device un-reg
BNXT_RE_FLAG_TASK_IN_PROG doesn't handle multiple work
requests posted together. Track schedule of multiple
workqueue items by maintaining a per device counter
and proceed with IB dereg only if this counter is zero.
flush_workqueue is no longer required from
NETDEV_UNREGISTER path.
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/nvdimm')
0 files changed, 0 insertions, 0 deletions