Skip to content
Snippets Groups Projects
Commit 7f1c36bd authored by Chenbo Feng's avatar Chenbo Feng Committed by Patrick Tjin
Browse files

fix the deadlock in xt_qtaguid when enable DDEBUG


When DDEBUG is enabled, the prdebug_full_state() function will try to
recursively aquire the spinlock of sock_tag_list and causing deadlock. A
check statement is added before it aquire the spinlock to differentiate
the behavior depend on the caller of the function.

Bug: 36559739
Test: Compile and run test under system/extra/test/iptables/
Change-Id: Ie3397fbaa207e14fe214d47aaf5e8ca1f4a712ee
Signed-off-by: default avatarChenbo Feng <fengc@google.com>
(cherry picked from commit 8cb8a69b83bd577b97e8247aec866e651c5b96f5)
parent 8c18ed4e
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment