qcacmn: Use local skb pointer for reentrant cld80211_msg_allocator
cld80211_oem_rsp_alloc_skb api is used to alloc skb for reply msg. A static buffer pointer is returned from this reentrant func which can be called by kworker and scheduler thread at same time resulting single buffer access by both threads. After kworker thread freeing this skb, scheduler is further updating data in this skb resulting in page fault error. Use local skb pointer to avoid such race conditions CRs-Fixed: 2822390 Change-Id: I5f807d06c4890b027c86de9187f17fb83b19db5e
Loading
Please register or sign in to comment