diff options
author | 2011-10-30 12:44:56 +0100 | |
---|---|---|
committer | 2011-12-22 19:54:58 +0100 | |
commit | 40c34d042dc2f8954d5f619f6348a8659a4b416f (patch) | |
tree | c488dd68c7b146adc0e1de4f870208b9427ad42f /crypto/api.c | |
parent | drm/i810: cleanup reclaim_buffers (diff) | |
download | wireguard-linux-40c34d042dc2f8954d5f619f6348a8659a4b416f.tar.xz wireguard-linux-40c34d042dc2f8954d5f619f6348a8659a4b416f.zip |
drm/i810: don't acces hw regs in lastclose
i810 uses a userspace provided mmio map using the drm core map
infrastructure. By the time we reach lastclose, this is all gone
and our mmio_map pointer points at freed memory. Depending upon
luck that still works, most often it just oopses.
Aside: drm maps aren't refcounted, so userspace can essentially oops
the kernel any time it wants to. Who cares.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'crypto/api.c')
0 files changed, 0 insertions, 0 deletions