summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2015-12-02 09:24:46 -0800
committerDave Airlie <airlied@redhat.com>2015-12-04 12:28:14 +1000
commita0af2e538c80f3e47f1d6ddf120a153ad909e8ad (patch)
tree056678eb2ff49c0d8e489f34995d7089e5b134bb /drivers/gpu/drm/nouveau
parentf46e699cb6f44e79f3df33966c239ab1f4da5778 (diff)
drm: Fix an unwanted master inheritance v2
A client calling drmSetMaster() using a file descriptor that was opened when another client was master would inherit the latter client's master object and all its authenticated clients. This is unwanted behaviour, and when this happens, instead allocate a brand new master object for the client calling drmSetMaster(). Fixes a BUG() throw in vmw_master_set(). Cc: <stable@vger.kernel.org> Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau')
0 files changed, 0 insertions, 0 deletions