commit | 7bc3f5a2e1e21bf58aa031c7cfdf46486fa1aa53 | [log] [tgz] |
---|---|---|
author | Max Kellermann <[email protected]> | Mon Feb 21 11:03:13 2022 +0100 |
committer | Roy Yang <[email protected]> | Wed Mar 02 02:52:39 2022 +0000 |
tree | 2b1526caad99de3263f1216dfdeb36555fbcd5bc | |
parent | e3af2e8541cec2efed44c8c1ba59ae7070a8d02d [diff] |
lib/iov_iter: initialize "flags" in new pipe_buffer commit 9d2231c5d74e13b2a0546fee6737ee4446017903 upstream. The functions copy_page_to_iter_pipe() and push_pipe() can both allocate a new pipe_buffer, but the "flags" member initializer is missing. BUG=b/221943470 TEST=presubmit RELEASE_NOTE=Bugfix cos-patch: bug Fixes: 241699cd72a8 ("new iov_iter flavour: pipe-backed") To: Alexander Viro <[email protected]> To: [email protected] To: [email protected] Cc: [email protected] Signed-off-by: Max Kellermann <[email protected]> Signed-off-by: Al Viro <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> Change-Id: I2c2cf38db864ac6ddb3d76968685235876ce4b4c Reviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/29926 Tested-by: Cusky Presubmit Bot <[email protected]> Reviewed-by: Vaibhav Rustagi <[email protected]>