From dcf8af2a7bcb73cf52fe3e274d04ff68f4afa264 Mon Sep 17 00:00:00 2001 From: jsg Date: Mon, 27 Mar 2023 07:34:35 +0000 Subject: [PATCH] drm/display/dp_mst: Fix down message handling after a packet reception error From Imre Deak efe5ce019a9bae988ac244b593da21cec30e9c06 in linux-6.1.y/6.1.18 1241aedb6b5c7a5a8ad73e5eb3a41cfe18a3e00e in mainline linux --- sys/dev/pci/drm/display/drm_dp_mst_topology.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/pci/drm/display/drm_dp_mst_topology.c b/sys/dev/pci/drm/display/drm_dp_mst_topology.c index 9f5ce28ff1b..d4fff370ec4 100644 --- a/sys/dev/pci/drm/display/drm_dp_mst_topology.c +++ b/sys/dev/pci/drm/display/drm_dp_mst_topology.c @@ -3869,7 +3869,7 @@ static int drm_dp_mst_handle_down_rep(struct drm_dp_mst_topology_mgr *mgr) struct drm_dp_sideband_msg_rx *msg = &mgr->down_rep_recv; if (!drm_dp_get_one_sb_msg(mgr, false, &mstb)) - goto out; + goto out_clear_reply; /* Multi-packet message transmission, don't clear the reply */ if (!msg->have_eomt) -- 2.20.1