Linus Torvalds
52bce91165
splice: reinstate SIGPIPE/EPIPE handling
...
Commit 8924feff66f3 ("splice: lift pipe_lock out of splice_to_pipe()")
caused a regression when there were no more readers left on a pipe that
was being spliced into: rather than the expected SIGPIPE and -EPIPE
return value, the writer would end up waiting forever for space to free
up (which obviously was not going to happen with no readers around).
Fixes: 8924feff66f3 ("splice: lift pipe_lock out of splice_to_pipe()")
Reported-and-tested-by: Andreas Schwab <schwab@linux-m68k.org>
Debugged-by: Al Viro <viro@zeniv.linux.org.uk>
Cc: stable@kernel.org # v4.9
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-12-21 10:59:34 -08:00
..
2016-12-17 19:16:12 -08:00
2016-12-09 16:45:04 +01:00
2016-12-17 19:16:12 -08:00
2016-12-17 19:16:12 -08:00
2016-12-17 19:16:12 -08:00
2016-12-17 19:16:12 -08:00
2016-12-09 16:45:04 +01:00
2016-12-09 16:45:04 +01:00
2016-12-11 16:33:18 -05:00
2016-12-14 08:31:37 -08:00
2016-12-09 16:45:04 +01:00
2016-12-10 14:25:19 -05:00
2016-12-19 08:23:53 -08:00
2016-12-17 19:16:12 -08:00
2016-12-17 19:16:12 -08:00
2016-12-17 19:16:12 -08:00
2016-12-17 19:16:12 -08:00
2016-12-09 16:45:04 +01:00
2016-12-13 10:19:16 -08:00
2016-12-13 10:19:16 -08:00
2016-12-09 16:45:04 +01:00
2016-12-17 19:16:12 -08:00
2016-12-17 19:16:12 -08:00
2016-12-09 16:45:04 +01:00
2016-12-17 19:16:12 -08:00
2016-12-21 10:40:30 -08:00
2016-12-17 19:16:12 -08:00
2016-12-17 19:16:12 -08:00
2016-12-19 08:23:53 -08:00
2016-12-14 17:09:00 -08:00
2016-12-19 08:23:53 -08:00
2016-12-17 19:16:12 -08:00
2016-12-17 19:16:12 -08:00
2016-12-17 19:16:12 -08:00
2016-12-13 09:16:11 -08:00
2016-12-19 08:23:53 -08:00
2016-12-17 19:16:12 -08:00
2016-12-17 19:16:12 -08:00
2016-12-09 16:45:04 +01:00
2016-12-17 19:16:12 -08:00
2016-12-17 19:16:12 -08:00
2016-12-04 18:29:28 -05:00
2016-12-09 11:57:43 +01:00
2016-12-12 18:55:10 -08:00
2016-12-13 21:07:08 -07:00
2016-12-14 17:09:00 -08:00
2016-12-07 17:44:38 -05:00
2016-12-14 16:04:09 -08:00
2016-12-03 20:51:49 -05:00
2016-12-05 19:01:16 -05:00
2016-12-14 21:35:31 -08:00
2016-12-14 17:25:18 -08:00
2016-12-04 18:29:28 -05:00
2016-12-05 19:01:16 -05:00
2016-12-12 18:55:08 -08:00
2016-12-17 18:44:00 -08:00
2016-12-16 11:02:54 +01:00
2016-12-14 21:35:31 -08:00
2016-12-16 10:24:44 -08:00
2016-12-17 19:16:12 -08:00
2016-12-14 23:48:11 -05:00
2016-12-03 15:55:01 -05:00
2016-12-03 20:51:35 -05:00
2016-12-17 19:16:12 -08:00
2016-12-16 16:34:52 -05:00
2016-12-17 18:44:00 -08:00
2016-12-21 10:59:34 -08:00
2016-12-09 16:45:04 +01:00
2016-12-05 19:03:49 -05:00
2016-11-30 08:38:07 +01:00
2016-12-14 16:04:09 -08:00
2016-12-05 19:03:49 -05:00