diff options
| author | Nicholas Bellinger <[email protected]> | 2012-02-23 17:28:43 -0800 |
|---|---|---|
| committer | Nicholas Bellinger <[email protected]> | 2012-02-25 14:37:50 -0800 |
| commit | d335e6054db616bce3f040e659fa38440518ad1d (patch) | |
| tree | f426c61320c4b323536a2b46203e17e5c6c3ea59 /tools/perf/scripts/python | |
| parent | 33395fb8a13731c7ef7b175dbf5a4d8a6738fe6c (diff) | |
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 <[email protected]>
Cc: Andy Grover <[email protected]>
Cc: [email protected]
Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions