patch "Drivers: hv: vmbus: Don't leak channel ids" added to char-misc-linus
Subsystems (2)
This is a note to let you know that I've just added the patch titled
Drivers: hv: vmbus: Don't leak channel ids
to my char-misc git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git
in the char-misc-linus branch.
The patch will show up in the next release of the linux-next tree (usually sometime within the next 24 hours during the week.)
The patch will hopefully also be merged in Linus's tree for the next -rc kernel release.
If you have any questions about this process, please let me know.
Quoted 1 line
From
9a5476020a5f06a0fc6f17097efc80275d2f03cdMon Sep 17 00:00:00 2001
From: "K. Y. Srinivasan" <[email protected]>
Date: Mon, 13 Mar 2017 15:57:09 -0700
Subject: Drivers: hv: vmbus: Don't leak channel ids
If we cannot allocate memory for the channel, free the relid associated with the channel.
--- drivers/hv/channel_mgmt.c | 1 + 1 file changed, 1 insertion(+)
drivers/hv/channel_mgmt.c +1 -0
@@ -796,6 +796,7 @@ static void vmbus_onoffer(struct vmbus_channel_message_header *hdr)/* Allocate the channel object and save this offer. */ newchannel =alloc_channel ();if (!newchannel) { +vmbus_release_relid (offer->child_relid);pr_err ("Unable to allocate channel object\n" );return ; }
Signature · 1 line
2.12.0