aboutsummaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorChenbo Feng <fengc@google.com>2017-03-23 13:51:24 -0700
committerMister Oyster <oysterized@gmail.com>2017-04-11 11:00:30 +0200
commitda0c1b95417f03880070019f35961098311837a2 (patch)
treea659cc85c7670970ea27552f9c49b29f901080e6 /lib/debugobjects.c
parent99b992251a94b403833875837a4e5f4ff5e67c16 (diff)
ANDROID: 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: Chenbo Feng <fengc@google.com>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions