Searched hist:"23 c560a9" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/lib/ |
H A D | scatterlist.c | 23c560a9 Wed Apr 15 08:10:23 CDT 2009 Tejun Heo <tj@kernel.org> scatterlist: make sure sg_miter_next() doesn't return 0 sized mappings
Impact: fix not-so-critical but annoying bug
sg_miter_next() returns 0 sized mapping if there is an zero sized sg entry in the list or at the end of each iteration. As the users always check the ->length field, this bug shouldn't be critical other than causing unnecessary iteration.
Fix it.
Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jens Axboe <jens.axboe@oracle.com> 23c560a9 Wed Apr 15 08:10:23 CDT 2009 Tejun Heo <tj@kernel.org> scatterlist: make sure sg_miter_next() doesn't return 0 sized mappings Impact: fix not-so-critical but annoying bug sg_miter_next() returns 0 sized mapping if there is an zero sized sg entry in the list or at the end of each iteration. As the users always check the ->length field, this bug shouldn't be critical other than causing unnecessary iteration. Fix it. Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
|