Skip to content

venus: fix shmem leak on vn_ring_destroy

Ryan Neph requested to merge ryanneph/mesa:vn-fix-ring-shmem-leak into main

Fix a ring shmem leak that can cause too many open fds or OOM, especially for dEQP, with high instance create/destroy turnover.

venus: fix shmem leak on vn_ring_destroy

Missed shmem unref when moving ring internals out of vn_instance.c.

Fixes: d1e29b75578 ("venus: move ring shmem into vn_ring")
Signed-off-by: Ryan Neph <ryanneph@google.com>

/cc @zzyiwei @dawnhan

Merge request reports