diff options
| author | Ben Hutchings <[email protected]> | 2017-10-15 17:16:33 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2017-10-18 02:41:11 +0000 |
| commit | 587c3c9f286cee5c9cac38d28c8ae1875f4ec85b (patch) | |
| tree | 99c5d61e5c3e4a5a056f3ffe95fbf2f855eb8a58 /net/sched/cls_basic.c | |
| parent | scsi: aacraid: Fix controller initialization failure (diff) | |
| download | kernel-587c3c9f286cee5c9cac38d28c8ae1875f4ec85b.tar.gz kernel-587c3c9f286cee5c9cac38d28c8ae1875f4ec85b.zip | |
scsi: sg: Re-fix off by one in sg_fill_request_table()
Commit 109bade9c625 ("scsi: sg: use standard lists for sg_requests")
introduced an off-by-one error in sg_ioctl(), which was fixed by commit
bd46fc406b30 ("scsi: sg: off by one in sg_ioctl()").
Unfortunately commit 4759df905a47 ("scsi: sg: factor out
sg_fill_request_table()") moved that code, and reintroduced the
bug (perhaps due to a botched rebase). Fix it again.
Fixes: 4759df905a47 ("scsi: sg: factor out sg_fill_request_table()")
Cc: [email protected]
Signed-off-by: Ben Hutchings <[email protected]>
Acked-by: Douglas Gilbert <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'net/sched/cls_basic.c')
0 files changed, 0 insertions, 0 deletions
