diff options
author | Bjorn Andersson <bjorn.andersson@linaro.org> | 2016-06-10 00:22:56 (GMT) |
---|---|---|
committer | Andy Gross <andy.gross@linaro.org> | 2016-06-24 18:34:00 (GMT) |
commit | 63af8e44eaa56ffe613628742a2642c4c2f1a029 (patch) | |
tree | 9c8fb55184165a30173cd401a3ba514122ceb33e /ipc/msgutil.c | |
parent | 6be2b3d0848d1ed3e78e416cc4ae9007e85c7533 (diff) | |
download | linux-63af8e44eaa56ffe613628742a2642c4c2f1a029.tar.xz |
soc: qcom: smp2p: Correct addressing of outgoing value
The valid_entries index should not be incremented until after we have
acquired the pointer to the value, or we will read and write data one
item off.
Fixes: 50e99641413e ("soc: qcom: smp2p: Qualcomm Shared Memory Point to Point")
Cc: stable@vger.kernel.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
Diffstat (limited to 'ipc/msgutil.c')
0 files changed, 0 insertions, 0 deletions