Paul Durrant
fa2ac657f9
xen-blkback: prevent premature module unload
...
Objects allocated by xen_blkif_alloc come from the 'blkif_cache' kmem
cache. This cache is destoyed when xen-blkif is unloaded so it is
necessary to wait for the deferred free routine used for such objects to
complete. This necessity was missed in commit 14855954f6 "xen-blkback:
allow module to be cleanly unloaded". This patch fixes the problem by
taking/releasing extra module references in xen_blkif_alloc/free()
respectively.
Signed-off-by: Paul Durrant <pdurrant@amazon.com >
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com >
Signed-off-by: Juergen Gross <jgross@suse.com >
2019-12-13 08:34:06 +01:00
..
2019-11-28 11:16:43 -08:00
2019-11-14 11:44:47 +08:00
2019-11-28 11:16:43 -08:00
2019-11-27 11:06:20 -08:00
2019-12-13 08:34:06 +01:00
2019-11-22 13:35:20 +01:00
2019-11-27 10:57:52 -08:00
2019-11-25 19:40:40 -08:00
2019-11-30 14:12:13 -08:00
2019-11-27 11:27:59 -08:00
2019-11-26 19:06:44 -08:00
2019-11-20 11:46:18 +01:00
2019-11-25 20:02:57 -08:00
2019-11-22 10:18:29 +01:00
2019-11-27 10:53:50 -08:00
2019-11-27 10:53:50 -08:00
2019-11-27 11:06:20 -08:00
2019-11-30 10:33:14 -08:00
2019-11-30 14:50:51 -08:00
2019-11-30 14:50:51 -08:00
2019-11-27 09:58:49 -08:00
2019-11-20 14:37:30 +01:00
2019-11-27 11:06:20 -08:00
2019-11-25 19:40:40 -08:00
2019-11-27 10:57:52 -08:00
2019-11-30 10:33:14 -08:00
2019-11-22 16:57:26 -08:00
2019-11-30 14:50:51 -08:00
2019-11-27 11:27:59 -08:00
2019-11-25 20:02:57 -08:00
2019-11-21 07:58:48 +01:00
2019-11-30 14:35:43 -08:00
2019-11-25 11:53:26 -08:00
2019-11-27 17:45:48 -08:00
2019-11-21 12:25:59 +01:00
2019-11-27 09:55:39 -08:00
2019-11-27 17:45:48 -08:00
2019-11-27 11:06:20 -08:00
2019-11-17 18:34:25 +01:00
2019-11-30 14:50:51 -08:00
2019-11-22 16:27:24 -08:00
2019-11-25 11:18:03 -08:00
2019-11-27 10:53:50 -08:00
2019-11-28 11:16:43 -08:00
2019-11-25 19:40:40 -08:00
2019-11-13 19:09:49 +08:00
2019-11-30 14:35:43 -08:00
2019-11-22 07:03:45 +01:00
2019-11-27 10:53:50 -08:00
2019-11-27 10:00:33 -08:00
2019-11-27 10:53:50 -08:00
2019-11-27 09:55:39 -08:00
2019-11-16 21:51:42 -08:00
2019-11-22 19:56:20 +00:00
2019-11-25 20:02:57 -08:00
2019-11-30 14:50:51 -08:00
2019-11-16 21:51:42 -08:00
2019-11-22 19:56:35 +00:00
2019-11-27 10:57:52 -08:00
2019-11-19 17:35:57 +01:00
2019-11-27 11:27:59 -08:00
2019-11-14 11:49:48 +08:00
2019-11-28 11:16:43 -08:00
2019-11-14 18:12:18 -08:00
2019-11-30 14:50:51 -08:00
2019-11-20 02:15:57 -05:00
2019-11-14 13:06:33 +08:00
2019-12-04 11:35:32 +01:00