[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <168682860385.384026.4276167891794745473.b4-ty@linaro.org>
Date: Thu, 15 Jun 2023 14:31:24 +0300
From: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
To: Rob Clark <robdclark@...il.com>,
Abhinav Kumar <quic_abhinavk@...cinc.com>,
Marijn Suijten <marijn.suijten@...ainline.org>,
Kuogee Hsieh <quic_khsieh@...cinc.com>,
Bjorn Andersson <quic_bjorande@...cinc.com>
Cc: Sean Paul <sean@...rly.run>, David Airlie <airlied@...il.com>,
Daniel Vetter <daniel@...ll.ch>,
Johan Hovold <johan+linaro@...nel.org>,
Vinod Polimera <quic_vpolimer@...cinc.com>,
linux-arm-msm@...r.kernel.org, dri-devel@...ts.freedesktop.org,
freedreno@...ts.freedesktop.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drm/msm/dp: Free resources after unregistering them
On Mon, 12 Jun 2023 15:02:59 -0700, Bjorn Andersson wrote:
> The DP component's unbind operation walks through the submodules to
> unregister and clean things up. But if the unbind happens because the DP
> controller itself is being removed, all the memory for those submodules
> has just been freed.
>
> Change the order of these operations to avoid the many use-after-free
> that otherwise happens in this code path.
>
> [...]
Applied, thanks!
[1/1] drm/msm/dp: Free resources after unregistering them
https://gitlab.freedesktop.org/lumag/msm/-/commit/fa0048a4b1fa
Best regards,
--
Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
Powered by blists - more mailing lists