drm/display/dp_mst: Fix down message handling after a packet reception error
authorjsg <jsg@openbsd.org>
Mon, 27 Mar 2023 07:34:35 +0000 (07:34 +0000)
committerjsg <jsg@openbsd.org>
Mon, 27 Mar 2023 07:34:35 +0000 (07:34 +0000)
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

index 9f5ce28..d4fff37 100644 (file)
@@ -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)