diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2021-08-20 22:18:28 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-09-22 12:26:40 +0200 |
commit | 5827dbac41c756bf882739b5b78be839a5ca65f6 (patch) | |
tree | cb23e4c0764bc78146f07a26d680623b4ab838ba /net/unix/af_unix.c | |
parent | 5e67b38435407d4f0649d6bbdc35ea2fce422606 (diff) |
drm/etnaviv: fix MMU context leak on GPU reset
commit f978a5302f5566480c58ffae64a16d34456801bd upstream.
After a reset the GPU is no longer using the MMU context and may be
restarted with a different context. While the mmu_state proeprly was
cleared, the context wasn't unreferenced, leading to a memory leak.
Cc: stable@vger.kernel.org # 5.4
Reported-by: Michael Walle <michael@walle.cc>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Tested-by: Michael Walle <michael@walle.cc>
Tested-by: Marek Vasut <marex@denx.de>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions