diff options
author | Lakshmanan M <lm@nvidia.com> | 2016-07-20 09:03:57 -0400 |
---|---|---|
committer | Vijayakumar Subbu <vsubbu@nvidia.com> | 2016-07-26 01:39:25 -0400 |
commit | 450aa3f0bec1b5164a0986cd6518ef1937f7c80f (patch) | |
tree | e3ecfd187500fa37bb8b37c7ce370d9aaa54494d /include/linux/gk20a.h | |
parent | 021c23e46eb69ee2c888fa3b05834f110da7a450 (diff) |
gpu: nvgpu: corner case failure handling in CE infra interface
This CL covers the following simple modification,
1) Linux kernel list implementation doesn't handle NULL pointer dereference
at list_del() api.
2) NULL validation before access the command buffer related operations.
This required for prevent the illegal/NULL memory access during
gk20a_ce_create_context_with_cb() failure case.
JIRA DNVGPU-53
Change-Id: I3ad178970ecb1485098124378bfc5256a9455ebd
Signed-off-by: Lakshmanan M <lm@nvidia.com>
Reviewed-on: http://git-master/r/1184294
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Diffstat (limited to 'include/linux/gk20a.h')
0 files changed, 0 insertions, 0 deletions