Skip to content
Snippets Groups Projects
Select Git revision
  • 1cf851b9bb57f99150440865b2506772b1cf3870
  • inf4_40 default protected
2 results

clang

user avatar
Shlomo Pongratz authored
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: default avatarShlomo Pongratz <shlomop@mellanox.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
3eccfdb0
History
Name Last commit Last update