Commit 3431908
committed
io_uring: check for valid register opcode earlier
We only check the register opcode value inside the restricted ring
section, move it into the main io_uring_register() function instead
and check it up front.
Signed-off-by: Jens Axboe <[email protected]>1 parent 23fffb2 commit 3431908
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4020 | 4020 | | |
4021 | 4021 | | |
4022 | 4022 | | |
4023 | | - | |
4024 | | - | |
4025 | 4023 | | |
4026 | 4024 | | |
4027 | 4025 | | |
| |||
4177 | 4175 | | |
4178 | 4176 | | |
4179 | 4177 | | |
| 4178 | + | |
| 4179 | + | |
| 4180 | + | |
4180 | 4181 | | |
4181 | 4182 | | |
4182 | 4183 | | |
| |||
0 commit comments