Commit 45ecaf8f authored by Bartłomiej Grzesik's avatar Bartłomiej Grzesik Committed by Slawomir Rosek
Browse files

CHROMIUM: virtio: video: Cancel worker on release



Prior this patch, if a v4l2_m2m_ctx_release was called between queueing
worker and it's execution, the worker would try to lock on an NULL
mutex, causing kernel crash.

This patch cancels a rending worker, before releasing an
v4l2_m2m_ctx.

Signed-off-by: default avatarBartłomiej Grzesik <bag@semihalf.com>

BUG=b:245795223
TEST=None

Change-Id: I23f82d9409ca2c7d528df16f999c7ec32f75e91a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/4106180


Tested-by: default avatarBartłomiej Grzesik <bag@semihalf.com>
Reviewed-by: default avatarMarcin Wojtas <mwojtas@google.com>
Auto-Submit: Bartłomiej Grzesik <bag@semihalf.com>
Commit-Queue: Marcin Wojtas <mwojtas@google.com>
Signed-off-by: default avatarSlawomir Rosek <srosek@google.com>
parent 7e283c57
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment