stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Tuomas Tynkkynen <tuomas@tuxera.com>
Cc: stable@vger.kernel.org, Al Viro <viro@zeniv.linux.org.uk>
Subject: Re: [PATCH stable backport] net/9p: Switch to wait_event_killable()
Date: Tue, 28 Nov 2017 09:40:46 +0100	[thread overview]
Message-ID: <20171128084046.GE9413@kroah.com> (raw)
In-Reply-To: <20171127234450.27217-1-tuomas@tuxera.com>

On Tue, Nov 28, 2017 at 01:44:50AM +0200, Tuomas Tynkkynen wrote:
> commit 9523feac272ccad2ad8186ba4fcc89103754de52 upstream, with changes
> to net/9p/trans_xen.c dropped as that driver was only added in 4.12.
> 
> Because userspace gets Very Unhappy when calls like stat() and execve()
> return -EINTR on 9p filesystem mounts. For instance, when bash is
> looking in PATH for things to execute and some SIGCHLD interrupts
> stat(), bash can throw a spurious 'command not found' since it doesn't
> retry the stat().
> 
> In practice, hitting the problem is rare and needs a really
> slow/bogged down 9p server.
> 
> Cc: stable@vger.kernel.org
> Signed-off-by: Tuomas Tynkkynen <tuomas@tuxera.com>
> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
> ---
> This backport applies to stable trees for 4.9 and below.

Thanks, now applied.

greg k-h

      reply	other threads:[~2017-11-28  8:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-27 23:44 [PATCH stable backport] net/9p: Switch to wait_event_killable() Tuomas Tynkkynen
2017-11-28  8:40 ` Greg KH [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171128084046.GE9413@kroah.com \
    --to=greg@kroah.com \
    --cc=stable@vger.kernel.org \
    --cc=tuomas@tuxera.com \
    --cc=viro@zeniv.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).