From: Vakul Garg <vakul.g...@nxp.com>
Date: Thu,  2 Aug 2018 20:43:10 +0530

> Function zerocopy_from_iter() unmarks the 'end' in input sgtable while
> adding new entries in it. The last entry in sgtable remained unmarked.
> This results in KASAN error report on using apis like sg_nents(). Before
> returning, the function needs to mark the 'end' in the last entry it
> adds.
> 
> Signed-off-by: Vakul Garg <vakul.g...@nxp.com>

Yes, a properly formed scatterlist table must always have it's
end marked.

Applied, thanks.

Reply via email to