https://github.com/torvalds/linux
Revision a0af2e538c80f3e47f1d6ddf120a153ad909e8ad authored by Thomas Hellstrom on 02 December 2015, 17:24:46 UTC, committed by Dave Airlie on 04 December 2015, 02:28:14 UTC
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>
1 parent f46e699
Raw File
Tip revision: a0af2e538c80f3e47f1d6ddf120a153ad909e8ad authored by Thomas Hellstrom on 02 December 2015, 17:24:46 UTC
drm: Fix an unwanted master inheritance v2
Tip revision: a0af2e5
.get_maintainer.ignore
Christoph Hellwig <hch@lst.de>
back to top