Skip to content
Commit c9efe511 authored by Al Viro's avatar Al Viro
Browse files

fix a kmap leak in virtio_console



While we are at it, don't do kmap() under kmap_atomic(), *especially*
for a page we'd allocated with GFP_KERNEL.  It's spelled "page_address",
and had that been more than that, we'd have a real trouble - kmap_high()
can block, and doing that while holding kmap_atomic() is a Bad Idea(tm).

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent d311d79d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment