diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-02-02 07:05:05 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-02-09 15:21:16 -0500 |
commit | c9efe51165fa0aff57be54e3cb0201ac87f68980 (patch) | |
tree | 2c956f57a8c176d0df62a16adc33a2d31b78a929 /mm | |
parent | d311d79de305f1ada47cadd672e6ed1b28a949eb (diff) | |
download | op-kernel-dev-c9efe51165fa0aff57be54e3cb0201ac87f68980.zip op-kernel-dev-c9efe51165fa0aff57be54e3cb0201ac87f68980.tar.gz |
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: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions