summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/hal.c
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2015-06-10 13:25:10 -0400
committerTerje Bergstrom <tbergstrom@nvidia.com>2015-06-11 13:17:13 -0400
commit0035aff30712a4506a028345b171eb616572bddb (patch)
tree2c328d36b6092a51939490ab55d1ce9e36b9fc1a /drivers/gpu/nvgpu/gk20a/hal.c
parent099af7667486b3b21c42bd5ed8543e70cabc6f92 (diff)
gpu: nvgpu: Swap order of free/rb_erase
If rb_erase() is called after __balloc_do_free_fixed() then the rb_tree code crashes when trying to dereference the possibly changed (or poisoned in the case of debugging) data in the rb_node. Change-Id: I4a4456a5ec453fd9ab117c804dc19b2c048a61d4 Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: http://git-master/r/755646 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-by: Ian Stewart <istewart@nvidia.com> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/755816 Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/hal.c')
0 files changed, 0 insertions, 0 deletions