Repository navigation
Commit e2dfcfb
s390/qeth: fix error handling for isolation mode cmds
Current(?) OSA devices also store their cmd-specific return codes for
SET_ACCESS_CONTROL cmds into the top-level cmd->hdr.return_code.
So once we added stricter checking for the top-level field a while ago,
none of the error logic that rolls back the user's configuration to its
old state is applied any longer.
For this specific cmd, go back to the old model where we peek into the
cmd structure even though the top-level field indicated an error.
Fixes: 686c97e ("s390/qeth: fix error handling in adapter command callbacks")
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent f3c7a6e commit e2dfcfb
1 file changed
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4544 | 4544 | | |
4545 | 4545 | | |
4546 | 4546 | | |
4547 | | - | |
4548 | | - | |
4549 | | - | |
4550 | 4547 | | |
4551 | 4548 | | |
4552 | 4549 | | |
| |||
4556 | 4553 | | |
4557 | 4554 | | |
4558 | 4555 | | |
4559 | | - | |
| 4556 | + | |
4560 | 4557 | | |
4561 | 4558 | | |
4562 | 4559 | | |
| |||
0 commit comments