Caleb Sander Mateos
db339b4067
ublk: don't mutate struct bio_vec in iteration
...
__bio_for_each_segment() uses the returned struct bio_vec's bv_len field
to advance the struct bvec_iter at the end of each loop iteration. So
it's incorrect to modify it during the loop. Don't assign to bv_len (or
bv_offset, for that matter) in ublk_copy_user_pages().
Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
Fixes: e87d66ab27ac ("ublk: use rq_for_each_segment() for user copy")
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2025-12-09 10:20:18 -07:00
..
2025-12-02 17:49:12 -08:00
2025-12-03 17:24:33 -08:00
2025-11-20 13:37:18 +01:00
2025-11-25 12:39:26 +01:00
2025-12-02 17:31:22 -08:00
2025-12-09 10:20:18 -07:00
2025-12-01 16:21:16 -05:00
2025-12-03 12:42:36 -08:00
2025-11-26 11:25:15 +01:00
2025-11-25 17:06:04 +01:00
2025-11-28 16:50:45 +01:00
2025-12-03 17:24:33 -08:00
2025-11-07 09:22:10 -07:00
2025-11-26 13:58:59 +09:00
2025-11-27 18:11:43 -08:00
2025-12-03 12:42:36 -08:00
2025-11-25 19:20:42 -08:00
2025-12-02 10:45:50 -08:00
2025-11-16 21:30:26 +09:00
2025-12-02 17:03:55 -08:00
2025-12-01 17:32:07 -08:00
2025-12-03 14:42:21 -08:00
2025-11-22 09:58:41 -08:00
2025-12-02 08:48:53 -08:00
2025-11-12 11:54:37 -08:00
2025-11-11 20:22:23 +00:00
2025-12-03 17:24:33 -08:00
2025-11-17 23:16:55 -08:00
2025-11-27 17:29:15 -08:00
2025-12-02 09:35:59 -08:00
2025-11-10 18:14:20 -08:00
2025-11-28 09:47:44 -06:00
2025-12-09 10:20:03 -07:00
2025-12-02 19:00:26 -08:00
2025-12-01 17:32:07 -08:00
2025-12-03 12:42:36 -08:00
2025-11-09 11:15:20 +09:00
2025-12-03 17:24:33 -08:00
2025-11-17 19:32:32 -08:00
2025-12-04 20:58:19 -07:00
2025-11-24 18:08:10 +01:00
2025-12-02 09:14:26 -08:00
2025-12-03 17:24:33 -08:00
2025-12-02 17:03:55 -08:00
2025-11-18 23:56:11 +01:00
2025-11-27 08:51:36 -08:00
2025-12-02 17:31:22 -08:00
2025-11-18 17:35:36 +01:00
2025-11-26 12:31:48 -08:00
2025-11-21 21:47:08 +01:00
2025-12-03 12:42:36 -08:00
2025-12-03 17:24:33 -08:00
2025-11-14 11:55:56 +01:00
2025-12-01 12:06:08 +01:00
2025-11-27 11:41:00 +00:00
2025-11-19 18:34:24 +00:00
2025-11-08 20:56:12 +01:00
2025-12-03 19:26:18 -08:00
2025-12-04 07:19:26 -07:00
2025-12-03 17:24:33 -08:00
2025-11-27 11:41:06 +00:00
2025-12-03 12:42:36 -08:00
2025-12-03 17:24:33 -08:00
2025-11-21 21:27:20 +01:00
2025-12-02 17:49:12 -08:00
2025-12-03 12:42:36 -08:00
2025-12-02 17:31:22 -08:00
2025-11-11 15:12:18 +01:00
2025-12-01 17:32:07 -08:00
2025-11-26 14:44:58 -08:00
2025-11-25 09:08:32 +01:00
2025-11-26 17:34:52 +01:00
2025-12-03 17:24:33 -08:00
2025-11-19 18:34:20 +00:00
2025-11-19 18:34:20 +00:00