OSDN Git Service

msm: ipa: Prevent multiple header deletion from user space
authorGhanim Fodi <gfodi@codeaurora.org>
Thu, 12 Jan 2017 13:14:15 +0000 (15:14 +0200)
committerGerrit - the friendly Code Review server <code-review@localhost>
Wed, 18 Jan 2017 09:20:42 +0000 (01:20 -0800)
commit7452cc75cbd363107a1e5d4c5f1327d3edc797ef
treeaafd58765a8fa389789c059cd9e95a63bc9c94fb
parenta51b7f60003e6071703d5e4489dae0f3ab7ae264
msm: ipa: Prevent multiple header deletion from user space

An IPA header or processing context can be added once
and later deleted once from user space.
Multiple deletion may cause invalid state of the headers
software cache.

Change-Id: Ic0b8472b7fd8a76233a007d90c832af726184574
CRs-fixed: 1097714
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
drivers/platform/msm/ipa/ipa_v2/ipa.c
drivers/platform/msm/ipa/ipa_v2/ipa_hdr.c
drivers/platform/msm/ipa/ipa_v2/ipa_i.h
drivers/platform/msm/ipa/ipa_v3/ipa.c
drivers/platform/msm/ipa/ipa_v3/ipa_hdr.c
drivers/platform/msm/ipa/ipa_v3/ipa_i.h