diff options
| author | Nicholas Bellinger <[email protected]> | 2013-10-07 15:20:07 -0700 |
|---|---|---|
| committer | Nicholas Bellinger <[email protected]> | 2013-10-09 01:54:43 -0700 |
| commit | 934a138e970e5af73d6f79469a1eb363572abbaa (patch) | |
| tree | be6beb6fd04652684aa4e1c8ce3a6d7cf16ec1c7 /net/lapb/lapb_subr.c | |
| parent | 9e20ae339721d614a1b0768c48bd73b456ff7905 (diff) | |
target: Make target_do_xcopy failures return INVALID_PARAMETER_LIST
This patch changes target_do_xcopy() to properly return
TCM_INVALID_PARAMETER_LIST instead of TCM_INVALID_CDB_FIELD
for failures related to the EXTENDED_COPY parameter list parsing.
Also, move struct xcopy_op allocation ahead of kmapping to
handle the special TCM_OUT_OF_RESOURCES case.
Reported-by: Thomas Glanzmann <[email protected]>
Reported-by: Douglas Gilbert <[email protected]>
Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions