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:
Sarada Prasanna Garnayak <sgarna@codeaurora.org>
Loading
Please register or sign in to comment