On Wed, 2017-07-12 at 15:51 +0800, [email protected] wrote: > From: Xiubo Li <[email protected]> > > 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 <[email protected]> > --- > drivers/target/target_core_user.c | 11 +++++------ > 1 file changed, 5 insertions(+), 6 deletions(-) >
Applied to target-pending/master. Thankx Xiubo + MNC.

