summaryrefslogtreecommitdiff
path: root/drivers/mfd/tps65217.c
diff options
context:
space:
mode:
authorFeras Daoud <ferasda@mellanox.com>2017-06-14 09:59:09 +0300
committerDoug Ledford <dledford@redhat.com>2017-06-14 22:16:23 +0300
commit4542d66bb26f2d021c70a78e46f183c6675fc4c9 (patch)
tree43f543c372350ff2ccf13be1003355b523834d7f /drivers/mfd/tps65217.c
parent560b7c3ffec1ca7d5de250d8ca7b1ca2349e98a4 (diff)
downloadlinux-4542d66bb26f2d021c70a78e46f183c6675fc4c9.tar.xz
IB/ipoib: Fix memory leak in create child syscall
The flow of creating a new child goes through ipoib_vlan_add which allocates a new interface and checks the rtnl_lock. If the lock is taken, restart_syscall will be called to restart the system call again. In this case we are not releasing the already allocated interface, causing a leak. Fixes: 9baa0b036410 ("IB/ipoib: Add rtnl_link_ops support") Signed-off-by: Feras Daoud <ferasda@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/mfd/tps65217.c')
0 files changed, 0 insertions, 0 deletions