Commit 5a1e99b
committed
io_uring: check reserved fields for recv/recvmsg
We should check unused fields for non-zero and -EINVAL if they are set,
making it consistent with other opcodes.
Fixes: aa1fa28 ("io_uring: add support for recvmsg()")
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent 588faa1 commit 5a1e99b
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5420 | 5420 | | |
5421 | 5421 | | |
5422 | 5422 | | |
| 5423 | + | |
| 5424 | + | |
5423 | 5425 | | |
5424 | 5426 | | |
5425 | 5427 | | |
| |||
0 commit comments