diff options
| author | Kenneth Lee <[email protected]> | 2017-01-05 07:00:05 +0000 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2017-01-24 20:44:31 +0000 |
| commit | 828f6fa65ce7e80f77f5ab12942e44eb3d9d174e (patch) | |
| tree | 09256b2ef0bbc46a1fbe79c5e0eaef8cd874dac9 /security/selinux/hooks.c | |
| parent | RDMA/qedr: Dispatch port active event from qedr_add (diff) | |
| download | kernel-828f6fa65ce7e80f77f5ab12942e44eb3d9d174e.tar.gz kernel-828f6fa65ce7e80f77f5ab12942e44eb3d9d174e.zip | |
IB/umem: Release pid in error and ODP flow
1. Release pid before enter odp flow
2. Release pid when fail to allocate memory
Fixes: 87773dd56d54 ("IB: ib_umem_release() should decrement mm->pinned_vm from ib_umem_get")
Fixes: 8ada2c1c0c1d ("IB/core: Add support for on demand paging regions")
Signed-off-by: Kenneth Lee <[email protected]>
Reviewed-by: Haggai Eran <[email protected]>
Reviewed-by: Leon Romanovsky <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
