Re: [PATCH] firmware: request_firmware() should propagate -ERESTARTSYS

From: Martin Fuzzey
Date: Tue May 23 2017 - 10:33:05 EST


On 23/05/17 15:31, Greg Kroah-Hartman wrote:
On Tue, May 23, 2017 at 03:16:07PM +0200, Martin Fuzzey wrote:
When -ERESTARTSYS is returned by wait_* due to a signal this should
be returned from request_firmware() so that the syscall may be
restarted if necessary.


Nice find, should this go to the stable kernels as well?

Yes I think it should.

I have already applied a similar patch to my 4.4 tree.

The exact same patch won't apply since the code has changed a bit since.

So I was planning on sending for -stable-4.4 once it's in mainline.

Regards,

Martin