lumbings
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Wise <swise@opengridcomputing.com>2016-09-01 06:44:52 -0700
committerSagi Grimberg <sagi@grimberg.me>2016-09-04 10:00:53 +0300
commit37eb816c0867b1b0db273d22b530780a0a083980 (patch)
tree449dbb5e7f983af2ce20207a6fa4db4decc233df
parent609e941a6bcd7ceb1cbb561941c997f6465e8698 (diff)
iw_cxgb4: block module unload until all ep resources are released
Otherwise an endpoint can be still closing down causing a touch after free crash. Also WARN_ON if ulps have failed to destroy various resources during device removal. Fixes: ad61a4c7a9b7 ("iw_cxgb4: don't block in destroy_qp awaiting the last deref") Reviewed-by: Sagi Grimberg <sagi@grimbrg.me> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Sagi Grimberg <sagi@grimberg.me>