
There can be a race condition if two different threads use the pkt log buffer at the same time. This issue can lead to Use-After-Free of the packet log buffer. To address this issue, protect the pktlog buffer access using spinlock. Change-Id: I75d9375c9d85ac26dab1c06658d3f0fdbeb62935 CRs-Fixed: 2034486