summaryrefslogtreecommitdiff
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorDeepak Kumar <dkumar@codeaurora.org>2018-03-05 16:51:25 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2019-03-06 23:28:08 -0800
commit4f5103fd124a929ea55ef9554b324882de41ce0b (patch)
tree483f4a6f65c657807a6c200fbe4a2788591fe2bc /drivers/net/xen-netback/interface.c
parentcbbe494b0cb57c4dd6ad9ba82510f1ed34424d07 (diff)
msm: kgsl: Correctly limit max number of contexts per process
Read and increment context count atomic variable under a lock to avoid race condition between read and increment. This is necessary to make sure no process goes beyond the specified context limit. Change-Id: I483e2ac169beaff49e19b8ef1b46541f6eb740b0 Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions