cf762ff2ee19678da609c700f35028ddd460b46c
There is null pointer dereference seen due to concurrency of wb_get_modes from userspace and clearing of writeback modes in wb_reset. This change acquires mutex lock to provide exclusive access to wb_dev effectively preventing such concurrency issues. Change-Id: Idd38e38696c839f557b94aa9313761d4d7738902 Signed-off-by: Yojana Juadi <quic_yjuadi@quicinc.com>
Description
No description provided
Languages
C
99.7%
Makefile
0.2%