summaryrefslogtreecommitdiff
path: root/include/linux/avtimer_kernel.h
diff options
context:
space:
mode:
authorDustin Brown <dustinb@codeaurora.org>2018-01-12 13:23:59 -0800
committerDustin Brown <dustinb@codeaurora.org>2018-01-12 13:35:29 -0800
commit917c5765f1024406eb3e08a4b18fddf67bc3430e (patch)
tree848a798407faabc09c0003e3b66484b990723169 /include/linux/avtimer_kernel.h
parent6bbcf5c7af60b10e986b072b7caf44999c972d58 (diff)
qcacmn: Hold lock for entire nbuf debug iteration
Hold a spinlock for the entire iteration of the nbuf map/unmap hashtable. This prevents invalid list/memory access issues in case of a race with an unmap operation. This also trades list/memory safety for the chance to watchdog bite while printing. Since we are about to panic anyway, the worst case is manually loading the memory dump to inspect the contents of the map/unmap hashtable. Change-Id: Iafc38764d55fc46910051349e4f4b26da33cae51 CRs-Fixed: 2171736
Diffstat (limited to 'include/linux/avtimer_kernel.h')
0 files changed, 0 insertions, 0 deletions