diff options
| author | Ming Lei <[email protected]> | 2025-03-10 11:54:53 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2025-03-10 13:41:25 +0000 |
| commit | fc0e982b8a3a169b1c654d9a1aa45bf292943ef2 (patch) | |
| tree | 07471a0263279afbff0b8e5e6f0cc96414cb8786 /net/unix/sysctl_net_unix.c | |
| parent | block: protect hctx attributes/params using q->elevator_lock (diff) | |
| download | kernel-fc0e982b8a3a169b1c654d9a1aa45bf292943ef2.tar.gz kernel-fc0e982b8a3a169b1c654d9a1aa45bf292943ef2.zip | |
block: make sure ->nr_integrity_segments is cloned in blk_rq_prep_clone
Make sure ->nr_integrity_segments is cloned in blk_rq_prep_clone(),
otherwise requests cloned by device-mapper multipath will not have the
proper nr_integrity_segments values set, then BUG() is hit from
sg_alloc_table_chained().
Fixes: b0fd271d5fba ("block: add request clone interface (v2)")
Cc: [email protected]
Cc: Christoph Hellwig <[email protected]>
Signed-off-by: Ming Lei <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
