]> Git Repo - linux.git/commit
RDMA/bnxt_re: Fix system crash during load/unload
authorSelvin Xavier <[email protected]>
Fri, 16 Feb 2018 05:20:12 +0000 (21:20 -0800)
committerDoug Ledford <[email protected]>
Tue, 20 Feb 2018 16:57:21 +0000 (11:57 -0500)
commitdcdaba08062b4726500b9456f8664bfda896c664
tree77bdeb1e050fdc1a6e54a2bc765838336c3a5df2
parent3b921e3bc4c20af58a663ed238ad57e87493dde2
RDMA/bnxt_re: Fix system crash during load/unload

During driver unload, the driver proceeds with cleanup
without waiting for the scheduled events. So the device
pointers get freed up and driver crashes when the events
are scheduled later.

Flush the bnxt_re_task work queue before starting
device removal.

Signed-off-by: Selvin Xavier <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
drivers/infiniband/hw/bnxt_re/main.c
This page took 0.054078 seconds and 4 git commands to generate.