1. 17 Jul, 2012 38 commits
  2. 16 Jul, 2012 1 commit
  3. 14 Jul, 2012 1 commit
    • Mark Rustad's avatar
      tcm_fc: Fix crash seen with aborts and large reads · 3cc5d2a6
      Mark Rustad authored
      
      
      This patch fixes a crash seen when large reads have their exchange
      aborted by either timing out or being reset. Because the exchange
      abort results in the seq pointer being set to NULL, because the
      sequence is no longer valid, it must not be dereferenced. This
      patch changes the function ft_get_task_tag to return ~0 if it is
      unable to get the tag for this reason. Because the get_task_tag
      interface provides no means of returning an error, this seems
      like the best way to fix this issue at the moment.
      
      Signed-off-by: default avatarMark Rustad <mark.d.rustad@intel.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
      3cc5d2a6