aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/net/ethernet/huawei/hinic/hinic_rx.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-09-18 19:36:24 -0600
committerJens Axboe <axboe@kernel.dk>2020-09-21 07:51:03 -0600
commit4eb8dded6b82e184c09bb963bea0335fa3f30b55 (patch)
tree61a853fa6802fe118eb6856f8a97a241bb53851e /drivers/net/ethernet/huawei/hinic/hinic_rx.c
parentio_uring: mark statx/files_update/epoll_ctl as non-SQPOLL (diff)
downloadwireguard-linux-4eb8dded6b82e184c09bb963bea0335fa3f30b55.tar.xz
wireguard-linux-4eb8dded6b82e184c09bb963bea0335fa3f30b55.zip
io_uring: fix openat/openat2 unified prep handling
A previous commit unified how we handle prep for these two functions, but this means that we check the allowed context (SQPOLL, specifically) later than we should. Move the ring type checking into the two parent functions, instead of doing it after we've done some setup work. Fixes: ec65fea5a8d7 ("io_uring: deduplicate io_openat{,2}_prep()") Reported-by: Andy Lutomirski <luto@kernel.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/net/ethernet/huawei/hinic/hinic_rx.c')
0 files changed, 0 insertions, 0 deletions