[dm-devel] [PATCH] dm-mpath-rdac.c init race

Bryn M. Reeves breeves at redhat.com
Tue Oct 2 15:07:32 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The current dm-mpath-rdac has a race in the init function since the hw
handler is registered with DM core before allocating the workqueue.

This patch just re-orders the allocation to be before the call to
dm_register_hw_handler and adds calls to destroys the workqueue in error
paths.

Cheers,
Bryn.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFHAl606YSQoMYUY94RAoyvAJ44CB5yY5B+6y66c7DgL/nFId+jcgCgwWYX
rh+hKlNANqNZRw6KkyrYCL0=
=mzHx
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rdac-init-race.patch
Type: text/x-patch
Size: 1155 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20071002/9b884524/attachment.bin>


More information about the dm-devel mailing list