summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@linux-iscsi.org>2012-02-24 02:28:43 +0100
committerNicholas Bellinger <nab@linux-iscsi.org>2012-02-25 23:37:50 +0100
commitd335e6054db616bce3f040e659fa38440518ad1d (patch)
treef426c61320c4b323536a2b46203e17e5c6c3ea59 /mm
parenttarget: Fix 16-bit target ports for SET TARGET PORT GROUPS emulation (diff)
downloadlinux-d335e6054db616bce3f040e659fa38440518ad1d.tar.xz
linux-d335e6054db616bce3f040e659fa38440518ad1d.zip
iscsi-target: Fix iscsit_alloc_buffs() failure cases
Make iscsit_alloc_buffs() failure case for page_alloc_failed use correct __free_page() SGL pointer, and return -ENOMEM for iscsit_allocate_iovecs failure to push se_cmd->t_mem_sg release into iscsit_release_cmd() callback during iscsit_add_reject_from_cmd() connection reset. Also drop cmd->t_mem_sg = NULL assignment from page_alloc_failed failure case. Reported-by: Roland Dreier <roland@purestorage.com> Cc: Andy Grover <agrover@redhat.com> Cc: stable@vger.kernel.org Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions