summaryrefslogtreecommitdiff
path: root/net/ipv6/tcp_ipv6.c
diff options
context:
space:
mode:
authorAkhil P Oommen <akhilpo@codeaurora.org>2017-06-07 16:13:37 +0530
committerAkhil P Oommen <akhilpo@codeaurora.org>2017-07-10 15:28:49 +0530
commit54812d339b9a62be48d12ee5136c34882e8c2e8c (patch)
treea43f54c1e820ec870e6af12756f5fe4e9a1ce5cd /net/ipv6/tcp_ipv6.c
parentccde34ffb3f4e58f6885a6489c7e2eaeb7eca5e9 (diff)
staging: android: sync: fix list corruption in fence struct
Fence lock is not taken in sync_print_fence() while calling sync_print_pt() which in turn calls fence_is_signaled() to check the status of each fence before printing. This creates a race condition that corrupts fence data structure when another thread calls fence_is_signaled_locked() on the same fence. Since we don't need to signal the fence while logging, it can be fixed by simply checking fence flag status directly instead of calling fence_is_signaled_locked(). Change-Id: I1b4732cf3779a5b75a372e11170b438a4deabe67 Signed-off-by: Akhil P Oommen <akhilpo@codeaurora.org>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions