All of lore.kernel.org
 help / color / mirror / Atom feed
* Backport request to 4.4 and 4.9 for af_vsock.c
@ 2017-11-23 15:51 Jorgen S. Hansen
  2017-11-24 16:13 ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Jorgen S. Hansen @ 2017-11-23 15:51 UTC (permalink / raw)
  To: Stable tree

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"

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()”

The backports have been tested with kernel 4.4.100 and 4.9.64.

Thanks,
Jorgen


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Backport request to 4.4 and 4.9 for af_vsock.c
  2017-11-23 15:51 Backport request to 4.4 and 4.9 for af_vsock.c Jorgen S. Hansen
@ 2017-11-24 16:13 ` Greg KH
  2017-11-27 10:50   ` Jorgen S. Hansen
  0 siblings, 1 reply; 4+ messages in thread
From: Greg KH @ 2017-11-24 16:13 UTC (permalink / raw)
  To: Jorgen S. Hansen; +Cc: Stable tree

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Backport request to 4.4 and 4.9 for af_vsock.c
  2017-11-24 16:13 ` Greg KH
@ 2017-11-27 10:50   ` Jorgen S. Hansen
  2017-11-27 11:57     ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Jorgen S. Hansen @ 2017-11-27 10:50 UTC (permalink / raw)
  To: Greg KH; +Cc: Stable tree


> On Nov 24, 2017, at 5:13 PM, Greg KH <gregkh@linuxfoundation.org> wrote:
> 
> 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"

Sorry about the rookie mistakes - those commit hashes were from the test branch.

The commit we’d like backported to 4.4 (it applies when using 3-way merge) is:

f7f9b5e ("AF_VSOCK: Shrink the area influenced by prepare_to_wait”)

and the following commit backported to both 4.4 and 4.9:

499fde6 ("vsock: use new wait API for vsock_stream_sendmsg()”)

where 499fde6 should be applied on top of f7f9b5e

Thanks,
Jorgen

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Backport request to 4.4 and 4.9 for af_vsock.c
  2017-11-27 10:50   ` Jorgen S. Hansen
@ 2017-11-27 11:57     ` Greg KH
  0 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2017-11-27 11:57 UTC (permalink / raw)
  To: Jorgen S. Hansen; +Cc: Stable tree

On Mon, Nov 27, 2017 at 10:50:28AM +0000, Jorgen S. Hansen wrote:
> 
> > On Nov 24, 2017, at 5:13 PM, Greg KH <gregkh@linuxfoundation.org> wrote:
> > 
> > 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"
> 
> Sorry about the rookie mistakes - those commit hashes were from the test branch.
> 
> The commit we’d like backported to 4.4 (it applies when using 3-way merge) is:
> 
> f7f9b5e ("AF_VSOCK: Shrink the area influenced by prepare_to_wait”)
> 
> and the following commit backported to both 4.4 and 4.9:
> 
> 499fde6 ("vsock: use new wait API for vsock_stream_sendmsg()”)
> 
> where 499fde6 should be applied on top of f7f9b5e

You are using too "short" of an identifier there, please look at the
above git line I recommended using...

Anyway, both now queued up, thanks.

greg k-h

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-11-27 11:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-23 15:51 Backport request to 4.4 and 4.9 for af_vsock.c Jorgen S. Hansen
2017-11-24 16:13 ` Greg KH
2017-11-27 10:50   ` Jorgen S. Hansen
2017-11-27 11:57     ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.