Miklos Szeredi
fe75d1a6b0
vfs: fix uninitialized flags in splice_to_pipe()
...
commit 5a81e6a171cdbd1fa8bc1fdd80c23d3d71816fac upstream.
Flags (PIPE_BUF_FLAG_PACKET, PIPE_BUF_FLAG_GIFT) could remain on the
unused part of the pipe ring buffer. Previously splice_to_pipe() left
the flags value alone, which could result in incorrect behavior.
Uninitialized flags appears to have been there from the introduction of
the splice syscall.
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
Signed-off-by: Willy Tarreau <w@1wt.eu >
2017-06-20 14:04:20 +02:00
..
2017-06-08 00:46:47 +02:00
2015-04-29 10:34:00 +02:00
2013-05-07 20:16:25 -07:00
2015-04-29 10:34:00 +02:00
2013-05-31 15:17:56 -04:00
2017-06-19 20:28:15 +02:00
2013-04-09 14:12:56 -04:00
2015-04-29 10:34:00 +02:00
2017-06-20 14:04:10 +02:00
2015-04-29 10:34:00 +02:00
2013-11-29 11:11:53 -08:00
2015-04-29 10:34:00 +02:00
2016-02-25 11:57:46 -08:00
2013-05-01 14:08:52 -07:00
2016-08-27 11:40:31 +02:00
2016-03-16 08:41:37 -07:00
2014-02-13 13:48:00 -08:00
2015-04-29 10:34:00 +02:00
2017-06-08 00:46:47 +02:00
2017-06-08 00:46:47 +02:00
2017-06-20 08:02:37 +02:00
2017-06-08 00:46:49 +02:00
2013-05-24 16:22:50 -07:00
2016-02-19 14:22:41 -08:00
2017-06-08 00:47:01 +02:00
2017-06-08 00:46:47 +02:00
2015-10-01 12:07:34 +02:00
2015-10-01 12:07:34 +02:00
2017-02-10 11:03:30 +01:00
2015-09-21 10:00:10 -07:00
2013-04-29 15:41:42 -04:00
2013-10-18 07:45:45 -07:00
2017-02-10 11:03:30 +01:00
2013-05-03 09:56:25 -07:00
2017-06-20 08:02:35 +02:00
2017-06-08 00:46:47 +02:00
2017-06-08 00:46:47 +02:00
2016-03-03 15:06:20 -08:00
2015-04-29 10:34:00 +02:00
2017-06-20 14:04:09 +02:00
2017-02-10 11:03:28 +01:00
2016-08-27 11:40:30 +02:00
2015-08-16 20:51:35 -07:00
2013-05-07 20:16:25 -07:00
2017-06-20 08:03:01 +02:00
2015-06-05 23:19:54 -07:00
2016-06-07 10:42:53 +02:00
2017-02-10 11:04:02 +01:00
2013-05-31 15:17:31 -04:00
2015-01-29 17:40:57 -08:00
2017-06-08 00:46:47 +02:00
2013-04-29 09:17:57 +10:00
2013-04-05 15:35:52 -07:00
2016-02-19 14:22:39 -08:00
2017-06-08 00:46:56 +02:00
2016-02-25 11:57:48 -08:00
2013-04-30 09:36:50 -07:00
2017-06-20 14:03:20 +02:00
2016-02-25 11:57:46 -08:00
2014-06-16 13:42:52 -07:00
2013-05-01 17:51:54 -07:00
2013-05-02 10:16:16 -07:00
2016-02-19 14:22:41 -08:00
2013-04-29 15:40:23 -04:00
2013-04-30 17:04:03 -07:00
2014-03-23 21:38:21 -07:00
2013-10-05 07:13:09 -07:00
2017-06-08 00:46:49 +02:00
2014-11-14 08:47:54 -08:00
2013-05-04 15:03:05 -04:00
2013-05-07 20:16:25 -07:00
2017-02-06 23:33:05 +01:00
2017-06-20 14:04:14 +02:00
2014-02-13 13:48:00 -08:00
2013-05-08 10:13:35 -07:00
2013-05-01 07:21:43 -07:00
2017-06-08 00:47:11 +02:00
2015-06-05 23:20:00 -07:00
2015-07-03 19:48:08 -07:00
2014-02-22 12:41:25 -08:00
2015-01-16 06:59:02 -08:00
2017-06-08 00:46:47 +02:00
2015-07-10 10:40:22 -07:00
2015-07-03 19:48:08 -07:00
2017-06-20 08:02:37 +02:00
2013-04-17 13:25:09 +01:00
2013-04-30 17:04:04 -07:00
2015-04-29 10:34:00 +02:00
2016-03-09 15:31:53 -08:00
2013-05-01 17:51:54 -07:00
2014-02-06 11:08:16 -08:00
2016-03-03 15:06:24 -08:00
2015-01-08 09:58:16 -08:00
2015-07-03 19:48:08 -07:00
2016-08-21 23:22:36 +02:00
2013-05-31 15:16:33 -04:00
2013-05-01 17:51:54 -07:00
2017-06-08 00:46:47 +02:00
2014-02-13 13:48:00 -08:00
2017-02-10 11:03:29 +01:00
2015-08-16 20:51:42 -07:00
2017-06-20 14:04:20 +02:00
2015-01-29 17:40:57 -08:00
2013-10-18 07:45:44 -07:00
2017-02-10 11:03:29 +01:00