commit | 9da66c87fdb6b0dd46840e2bbf49fa627a5d2953 | [log] [tgz] |
---|---|---|
author | Mikulas Patocka <mpatocka@redhat.com> | Thu Apr 25 12:07:54 2019 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat May 25 18:25:33 2019 +0200 |
tree | 0376b40524b5941b55860e9ac8e6b9a07f288b4e | |
parent | fc6d84abd81ead643d5e9361879502a3ace55da4 [diff] |
dm delay: fix a crash when invalid device is specified commit 81bc6d150ace6250503b825d9d0c10f7bbd24095 upstream. When the target line contains an invalid device, delay_ctr() will call delay_dtr() with NULL workqueue. Attempting to destroy the NULL workqueue causes a crash. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Cc: stable@vger.kernel.org Signed-off-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>