On Wed, 2017-07-12 at 15:51 +0800, lixi...@cmss.chinamobile.com wrote: > From: Xiubo Li <lixi...@cmss.chinamobile.com> > > For most case the sg->length equals to PAGE_SIZE, so this bug won't > be triggered. Otherwise this will crash the kernel, for example when > all segments' sg->length equal to 1K. > > Signed-off-by: Xiubo Li <lixi...@cmss.chinamobile.com> > --- > drivers/target/target_core_user.c | 11 +++++------ > 1 file changed, 5 insertions(+), 6 deletions(-) >
Applied to target-pending/master. Thankx Xiubo + MNC.