diff options
author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2019-12-17 17:09:33 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-12-17 22:17:28 +0000 |
commit | ba16a48af797db124ac100417f9229b1650ce1fb (patch) | |
tree | 78d9a2130c65077e9f332e3b5c0107c040112d43 /net/tipc/crypto.h | |
parent | 85bedbf191e82aac0d7f05623bccfeccdcd91cea (diff) |
drm/i915: Fix pid leak with banned clients
Get_pid_task() needs to be paired with a put_pid or we leak a pid
reference every time a banned client tries to create a context.
v2:
* task_pid_nr helper exists! (Chris)
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Fixes: b083a0870c79 ("drm/i915: Add per client max context ban limit")
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20191217170933.8108-1-tvrtko.ursulin@linux.intel.com
Diffstat (limited to 'net/tipc/crypto.h')
0 files changed, 0 insertions, 0 deletions