Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8d640b6c authored by Sarada Prasanna Garnayak's avatar Sarada Prasanna Garnayak Committed by Gerrit - the friendly Code Review server
Browse files

cnss_prealloc: add api to check memory leak and memory pool reset



WLAN module interface with high latency bus need pre-alloc memory
for the socket buffer descriptor. Wlan host diver request for
pre-alloc memory from the skb pre-alloc memory pool for socket
buffer initialization and release the memory back to socket buffer
memory pool on descriptor deinit.

Add api to check the memory leak in socket buffer memory pool
and reset the socket buffer memory pool on memory leak detection.

CRs-Fixed: 1080107
Change-Id: Ic754883ffdfb718c6082e1038a751fde7c49fa08
Signed-off-by: default avatarSarada Prasanna Garnayak <sgarna@codeaurora.org>
parent 86691680
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment