diff options
author | 2010-02-12 10:32:15 +0530 | |
---|---|---|
committer | 2010-02-24 14:23:03 +1030 | |
commit | a9cdd4855738906043b8131cfe8055d6cde88ffe (patch) | |
tree | 37ce268d3aceb90145d6d42d29b1f77a5bc1005f /arch/mips/kernel | |
parent | virtio: console: show error message if hvc_alloc fails for console ports (diff) | |
download | linux-dev-a9cdd4855738906043b8131cfe8055d6cde88ffe.tar.xz linux-dev-a9cdd4855738906043b8131cfe8055d6cde88ffe.zip |
virtio: console: Ensure no memleaks in case of unused buffers
If unused data exists in in_vq, ensure we flush that first and then
detach unused buffers, which will ensure all buffers from the in_vq are
removed.
Also ensure we free the buffers after detaching them.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'arch/mips/kernel')
0 files changed, 0 insertions, 0 deletions