From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:35414 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751668AbdKXQN0 (ORCPT ); Fri, 24 Nov 2017 11:13:26 -0500 Date: Fri, 24 Nov 2017 17:13:30 +0100 From: Greg KH To: "Jorgen S. Hansen" Cc: Stable tree Subject: Re: Backport request to 4.4 and 4.9 for af_vsock.c Message-ID: <20171124161330.GA23501@kroah.com> References: <544DABB1-9533-44AF-98F6-3B5C0CF14A09@vmware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <544DABB1-9533-44AF-98F6-3B5C0CF14A09@vmware.com> Sender: stable-owner@vger.kernel.org List-ID: On Thu, Nov 23, 2017 at 03:51:53PM +0000, Jorgen S. Hansen wrote: > Hi, > > Customers running VMware Workstation on 4.4 kernels have been hitting a couple of bugs where net/vmw_vsock/af_vsock.c is calling functions that may sleep when not allowed to. These issues have already been fixed in later kernels, and we would like to request these fixes backported to 4.4 and 4.9 LTS branches. > > To resolve the above issue, we would like the following commit backported to 4.4 (it applies when using 3-way merge): > > commit 265563fc8f123641d006d65f26d18d0b24d3022d "AF_VSOCK: Shrink the area influenced by prepare_to_wait" ~/linux/work/torvalds $ git show 265563fc8f123641d006d65f26d18d0b24d3022d fatal: bad object 265563fc8f123641d006d65f26d18d0b24d3022d > and the following commit (that needs to be applied on top of the above) backported to both 4.4 and 4.9: > > commit 359669f3b8eab6cbfb83eb1a46ec6ba089d47d18 "vsock: use new wait API for vsock_stream_sendmsg()” ~/linux/work/torvalds $ git show 359669f3b8eab6cbfb83eb1a46ec6ba089d47d18 fatal: bad object 359669f3b8eab6cbfb83eb1a46ec6ba089d47d18 Also, when referring to git commits, the following alias is a good thing to use: git show -s --abbrev-commit --abbrev=12 --pretty=format:"%h (\"%s\")%n" thanks, greg k-h