Chenbo Feng 6194574048 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>
(cherry picked from commit f0faedd6b468777f3bb5834f97100794d562c8b7)
2017-07-17 10:27:40 +05:30
..
2017-04-12 22:02:40 +02:00
2017-07-17 10:27:40 +05:30
2017-07-13 14:35:37 -07:00
2017-07-17 10:27:40 +05:30
2017-06-15 12:12:40 -04:00