commit | 5819e29cbb6ea70d03bfe2c2394f7011bea8243b | [log] [tgz] |
---|---|---|
author | Dustin Brown <dustinb@codeaurora.org> | Thu Jan 04 11:06:23 2018 -0800 |
committer | snandini <snandini@codeaurora.org> | Thu Jan 18 01:49:47 2018 -0800 |
tree | b75df45204424f82a89ec9e8c8da43c91535e29b | |
parent | 4082a0951fd28221d0f8a769f7d40fec3f1faf3f [diff] |
qcacmn: Return error on nbuf map alloc failure When nbuf map/unmap tracking is enabled, a small metadata structure is allocated to keep the tracking information. In cases where this allocation fails during the map operation, return an error status instead of mapping the nbuf. This prevents a false positive unmap-never-mapped panic when the nbuf is unmapped. Change-Id: Id01c1f61165a0beff4edd6cc6a0a2fc5f64d9b04 CRs-Fixed: 2167082