commit | dcdaba08062b4726500b9456f8664bfda896c664 | [log] [tgz] |
---|---|---|
author | Selvin Xavier <selvin.xavier@broadcom.com> | Thu Feb 15 21:20:12 2018 -0800 |
committer | Doug Ledford <dledford@redhat.com> | Tue Feb 20 11:57:21 2018 -0500 |
tree | 77bdeb1e050fdc1a6e54a2bc765838336c3a5df2 | |
parent | 3b921e3bc4c20af58a663ed238ad57e87493dde2 [diff] |
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 <selvin.xavier@broadcom.com> Signed-off-by: Doug Ledford <dledford@redhat.com>