]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
Drivers: hv: vmbus: Don't leak channel ids
authorK. Y. Srinivasan <kys@microsoft.com>
Mon, 13 Mar 2017 22:57:09 +0000 (15:57 -0700)
committerTim Gardner <tim.gardner@canonical.com>
Thu, 30 Mar 2017 12:35:45 +0000 (06:35 -0600)
commit9b3332511c3a7b1055938008981efa05e977c0ad
tree708a7e0f94b38cf6eb5cfff63e2be79bb4249c19
parenteba889c912d474f2f5dcad26073e1f6eb984f63d
Drivers: hv: vmbus: Don't leak channel ids

BugLink: http://bugs.launchpad.net/bugs/1677589
commit 9a5476020a5f06a0fc6f17097efc80275d2f03cd upstream.

If we cannot allocate memory for the channel, free the relid
associated with the channel.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/hv/channel_mgmt.c