aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2019-11-09 17:43:02 -0700
committerJens Axboe <[email protected]>2019-11-11 16:33:05 -0700
commit47f467686ec02fc07fd5c6bb34b6f6736e2884b0 (patch)
treef02777df3aed90654797c516f6b15a074e029b0e /net/switchdev/switchdev.c
parent0ddf92e848ab7abf216f218ee363eb9b9650e98f (diff)
io_uring: make ASYNC_CANCEL work with poll and timeout
It's a little confusing that we have multiple types of command cancellation opcodes now that we have a generic one. Make the generic one work with POLL_ADD and TIMEOUT commands as well, that makes for an easier to use API for the application. The fact that they currently don't is a bit confusing. Add a helper that takes care of it, so we can user it from both IORING_OP_ASYNC_CANCEL and from the linked timeout cancellation. Reported-by: Hrvoje Zeba <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions