[PATCH 2/3] drm/exynos: avoid race condition when adding a drm component

2014-11-21 Thread Inki Dae
On 2014년 11월 21일 08:54, Gustavo Padovan wrote: > From: Gustavo Padovan > > exynos_drm_component_add() correctly checks if a component is present on > drm_component_list however it release the lock right after the check > and before we add the new component to the list. That just creates roo

[PATCH 2/3] drm/exynos: avoid race condition when adding a drm component

2014-11-21 Thread Gustavo Padovan
2014-11-21 Inki Dae : > On 2014년 11월 21일 08:54, Gustavo Padovan wrote: > > From: Gustavo Padovan > > > > exynos_drm_component_add() correctly checks if a component is present on > > drm_component_list however it release the lock right after the check > > and before we add the new component

[PATCH 2/3] drm/exynos: avoid race condition when adding a drm component

2014-11-20 Thread Gustavo Padovan
From: Gustavo Padovan exynos_drm_component_add() correctly checks if a component is present on drm_component_list however it release the lock right after the check and before we add the new component to the list. That just creates room to add the same component more than once to the list. The lo