]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/infiniband/core/device.c
IB/uverbs: Export ib_umem_get()/ib_umem_release() to modules
[karo-tx-linux.git] / drivers / infiniband / core / device.c
index 7fabb425b033a2de2243d50b24164937c0e99e49..592c90aa31830eea4b5856f6a150178b4c636958 100644 (file)
@@ -613,6 +613,8 @@ static void __exit ib_core_cleanup(void)
 {
        ib_cache_cleanup();
        ib_sysfs_cleanup();
+       /* Make sure that any pending umem accounting work is done. */
+       flush_scheduled_work();
 }
 
 module_init(ib_core_init);