diff options
author | Helge Deller <deller@gmx.de> | 2019-10-04 19:23:37 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-29 09:17:40 +0100 |
commit | 4b0bd39cc8618efdd8e44bea0f67cd6b2040335c (patch) | |
tree | 7a9ac7cf0fd4da28e13b0277a21d525018443b80 /drivers/net/xen-netback/interface.c | |
parent | bfa25cba54e4d3c4d0168167aca23dc8b6cbe2b8 (diff) |
parisc: Fix vmap memory leak in ioremap()/iounmap()
commit 513f7f747e1cba81f28a436911fba0b485878ebd upstream.
Sven noticed that calling ioremap() and iounmap() multiple times leads
to a vmap memory leak:
vmap allocation for size 4198400 failed:
use vmalloc=<size> to increase size
It seems we missed calling vunmap() in iounmap().
Signed-off-by: Helge Deller <deller@gmx.de>
Noticed-by: Sven Schnelle <svens@stackframe.org>
Cc: <stable@vger.kernel.org> # v3.16+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions