summaryrefslogtreecommitdiff
path: root/drivers/target/target_core_rd.c
diff options
context:
space:
mode:
authorShlomo Pongratz <shlomop@mellanox.com>2013-05-05 17:36:26 +0300
committerNicholas Bellinger <nab@linux-iscsi.org>2013-05-07 16:51:58 -0700
commit3eccfdb01da58fbd0f789ae6ca61cee3769e26de (patch)
treed737a4dd65cfa7754277ae53a97fc8109c831b99 /drivers/target/target_core_rd.c
parent80690fdb959a652e02d4f40a684bd39586be9f32 (diff)
iscsi-target: Fix processing of OOO commands
Fix two issues in OOO commands processing done at iscsit_attach_ooo_cmdsn. Handle command serial numbers wrap around by using iscsi_sna_lt and not regular comparisson. The routine iterates until it finds an entry whose serial number is greater than the serial number of the new one, thus the new entry should be inserted before that entry and not after. Signed-off-by: Shlomo Pongratz <shlomop@mellanox.com> Cc: <stable@vger.kernel.org> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_rd.c')
0 files changed, 0 insertions, 0 deletions