diff options
| author | Eric Biggers <ebiggers@kernel.org> | 2025-12-19 11:29:08 -0800 |
|---|---|---|
| committer | Mikulas Patocka <mpatocka@redhat.com> | 2026-01-04 20:35:32 +0100 |
| commit | 119f4f04186fa4f33ee6bd39af145cdaff1ff17f (patch) | |
| tree | b41f6313337c0c97e75b5ba38605b085972db1d0 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 1a257c5fd33a5b641478a7dd851861f64529c7bb (diff) | |
dm-verity: correctly handle dm_bufio_client_create() failure
If either of the calls to dm_bufio_client_create() in verity_fec_ctr()
fails, then dm_bufio_client_destroy() is later called with an ERR_PTR()
argument. That causes a crash. Fix this.
Fixes: a739ff3f543a ("dm verity: add support for forward error correction")
Cc: stable@vger.kernel.org
Reviewed-by: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
