summaryrefslogtreecommitdiff
path: root/net/tipc/node.c
diff options
context:
space:
mode:
authorAmir Samuelov <amirs@codeaurora.org>2017-04-23 13:53:27 +0300
committerAmir Samuelov <amirs@codeaurora.org>2017-04-23 13:53:27 +0300
commitb4968ee80c0713e765a89c72a5bfe4b6dea7daf4 (patch)
tree2b9dc64600dee9af8abf9a138038efaf624edad8 /net/tipc/node.c
parent6cf6835d964a71fa857d03f8e2f28a581da3b3b2 (diff)
spcom: use mutex on spcom_unlock_ion_buf()
Only the channel owner app can lock/unlock a channel ion buf. However, if the app share the ION buf FD with its child tasks, they might wrongly free the same ion buf twice. The ion driver panic if a non-valid ION buff handle is provided. Change-Id: Ia8166df5ea314949090f7e94e90eff3a3ed78b19 Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions