diff options
author | 2013-05-05 17:36:26 +0300 | |
---|---|---|
committer | 2013-05-07 16:51:58 -0700 | |
commit | 3eccfdb01da58fbd0f789ae6ca61cee3769e26de (patch) | |
tree | d737a4dd65cfa7754277ae53a97fc8109c831b99 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iscsi-target: Make buf param of iscsit_do_crypto_hash_buf() const void * (diff) | |
download | linux-dev-3eccfdb01da58fbd0f789ae6ca61cee3769e26de.tar.xz linux-dev-3eccfdb01da58fbd0f789ae6ca61cee3769e26de.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions