summaryrefslogtreecommitdiff
path: root/drivers/net/netdevsim/ipsec.c
diff options
context:
space:
mode:
authorChristian Gmeiner <cgmeiner@igalia.com>2024-11-18 23:19:47 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-02-21 14:01:45 +0100
commit1c5673a2c8926adbb61f340c779b28e18188a8cd (patch)
tree0386e7aea21f53c6df71960e5e96d2f60627146a /drivers/net/netdevsim/ipsec.c
parent549b4664fb7257ad0ab1e0e0a5726b190f44b800 (diff)
drm/v3d: Stop active perfmon if it is being destroyed
commit 21f1435b1e6b012a07c42f36b206d2b66fc8f13b upstream. If the active performance monitor (`v3d->active_perfmon`) is being destroyed, stop it first. Currently, the active perfmon is not stopped during destruction, leaving the `v3d->active_perfmon` pointer stale. This can lead to undefined behavior and instability. This patch ensures that the active perfmon is stopped before being destroyed, aligning with the behavior introduced in commit 7d1fd3638ee3 ("drm/v3d: Stop the active perfmon before being destroyed"). Cc: stable@vger.kernel.org # v5.15+ Fixes: 26a4dc29b74a ("drm/v3d: Expose performance counters to userspace") Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com> Signed-off-by: MaĆ­ra Canal <mcanal@igalia.com> Link: https://patchwork.freedesktop.org/patch/msgid/20241118221948.1758130-1-christian.gmeiner@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/netdevsim/ipsec.c')
0 files changed, 0 insertions, 0 deletions