diff options
| author | Bhalchandra Gajare <gajare@codeaurora.org> | 2015-11-23 18:30:58 -0800 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 21:12:29 -0700 |
| commit | 56ed9e43b79770aac5c959b79c4b72fdaf50c9e0 (patch) | |
| tree | f04906884e8a1113196d634dffb43c9c0bb30324 /include/linux/cdev.h | |
| parent | a9de5b071d548fef8d9443eec4a2ade4c9f7183c (diff) | |
ASoC: msm-cpe-lsm: Fix out of memory on buffer allocation
The buffer used for look-ahead-buffering is allocated during IOCTL from
userspace. It is possible that userspace can invoke this IOCTL multiple
times without invoking the IOCTL to de-allocate the buffer. This results
in out of memory issue for buffer allocation during stress testing. Fix
this issue by avoiding multiple buffer allocations.
CRs-fixed: 942452
Change-Id: Id9eb99dc2c8527fbbe1fe79fca1cdcea232c33da
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
Diffstat (limited to 'include/linux/cdev.h')
0 files changed, 0 insertions, 0 deletions
