summaryrefslogtreecommitdiff
path: root/include/net/switchdev.h
diff options
context:
space:
mode:
authorNiranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>2022-07-01 15:50:55 -0700
committerAndi Shyti <andi.shyti@linux.intel.com>2022-07-27 14:02:21 +0000
commitfb01c2a39a73f5c9305fe768ad6b383307cc9704 (patch)
tree34f464176239756a6523b5db6b7f1d30b99face6 /include/net/switchdev.h
parent50b7191a3c46b2dbf994fd5094fa0985e60581d7 (diff)
drm/i915/vm_bind: Fix vm->vm_bind_mutex and vm->mutex nestingvm-bind
VM_BIND functionality maintain that vm->vm_bind_mutex will never be taken while holding vm->mutex. However, while closing 'vm', vma is destroyed while holding vm->mutex. But vma releasing needs to take vm->vm_bind_mutex in order to delete vma from the vm_bind_list. To avoid this, destroy the vma outside vm->mutex while closing the 'vm'. Signed-off-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
Diffstat (limited to 'include/net/switchdev.h')
0 files changed, 0 insertions, 0 deletions