diff options
author | Eli Cohen <elic@nvidia.com> | 2022-11-14 14:17:55 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2022-12-28 11:28:09 +0100 |
commit | 0dbc1b4ae07d003b2e88ba9d4142846320f8e349 (patch) | |
tree | ec9c0524d707b60b49b6c5b5cd31955ceeb26c9a /lib/ubsan.h | |
parent | vdpa/mlx5: Fix wrong mac address deletion (diff) | |
download | linux-0dbc1b4ae07d003b2e88ba9d4142846320f8e349.tar.xz linux-0dbc1b4ae07d003b2e88ba9d4142846320f8e349.zip |
vdpa/mlx5: Avoid using reslock in event_handler
event_handler runs under atomic context and may not acquire reslock. We
can still guarantee that the handler won't be called after suspend by
clearing nb_registered, unregistering the handler and flushing the
workqueue.
Signed-off-by: Eli Cohen <elic@nvidia.com>
Message-Id: <20221114131759.57883-5-elic@nvidia.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'lib/ubsan.h')
0 files changed, 0 insertions, 0 deletions