Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b168fe8c authored by Roland Dreier's avatar Roland Dreier Committed by Nicholas Bellinger
Browse files

target: Fix sense code for unsupported SERVICE ACTION IN



If we don't handle a given service action, we're supposed to return
INVALID FIELD IN CDB, since we do handle the SERVICE ACTION IN opcode.

Signed-off-by: default avatarRoland Dreier <roland@purestorage.com>
Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
parent 1f6fa8f8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2942,7 +2942,7 @@ static int transport_generic_cmd_sequencer(

			pr_err("Unsupported SA: 0x%02x\n",
				cmd->t_task_cdb[1] & 0x1f);
			goto out_unsupported_cdb;
			goto out_invalid_cdb_field;
		}
		/*FALLTHROUGH*/
	case ACCESS_CONTROL_IN: