History

drm/dp/mst: Remove port after removing connector.

The port is removed synchronously, but the connector delayed. This causes a use after free which can cause a kernel BUG with slug_debug=FPZU. This is fixed by freeing the port after the connector. This fixes a regression introduced with 6b8eeca65b18ae77e175cc2b6571731f0ee413bf "drm/dp/mst: close deadlock in connector destruction."

Maarten Lankhorst committed 11 years ago

Commit 4772ff01 parent 5677d672 files · +13 −8Browse files

Showing the changes to include (1 of 2 files). Show all

Unified · Split

include/drm/drm_crtc.h+0−2
@@ -743,8 +743,6 @@ struct drm_connector { · 742 unmodified lines
743743 uint8_t num_h_tile, num_v_tile;
744744 uint8_t tile_h_loc, tile_v_loc;
745745 uint16_t tile_h_size, tile_v_size;
746−
747− struct list_head destroy_list;
748746 };
749747
750748 /**