linux_dsm_epyc7002/drivers/infiniband/ulp/iser
Erez Zilber a316b79c33 IB/iser: Add missing counter increment in iser_data_buf_aligned_len()
While adding sg chaining support to iSER, a "for" loop was replaced
with a "for_each_sg" loop. The "for" loop included the incrementation
of 2 variables. Only one of them is incremented in the current
"for_each_sg" loop. This caused iSER to think that all data is
unaligned, and all data was copied to aligned buffers.

This patch increments the missing counter inside the "for_each_sg"
loop whenever necessary.

Signed-off-by: Erez Zilber <erezz@voltaire.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2007-11-24 13:50:39 -08:00
..
iscsi_iser.c [SCSI] iscsi_tcp, ib_iser Enable module refcounting for iscsi host template 2007-07-27 09:11:45 -04:00
iscsi_iser.h IB/iser: Make a couple of functions static 2007-07-17 18:37:42 -07:00
iser_initiator.c IB/iser: Remove unnecessary includes 2007-10-09 19:59:13 -07:00
iser_memory.c IB/iser: Add missing counter increment in iser_data_buf_aligned_len() 2007-11-24 13:50:39 -08:00
iser_verbs.c IB/iser: Remove unnecessary includes 2007-10-09 19:59:13 -07:00
Kconfig IB: Use menuconfig for InfiniBand menu 2007-07-09 20:12:26 -07:00
Makefile IB/iser: iSER Kconfig and Makefile 2006-06-22 07:51:14 -07:00