]> Git Repo - linux.git/commit
io_uring: don't touch scm_fp_list after queueing skb
authorPavel Begunkov <[email protected]>
Wed, 6 Apr 2022 11:43:58 +0000 (12:43 +0100)
committerJens Axboe <[email protected]>
Thu, 7 Apr 2022 17:17:47 +0000 (11:17 -0600)
commita07211e3001435fe8591b992464cd8d5e3c98c5a
tree8f1c5092bae72a51afe02cc5b5dc2295d2105de3
parent34bb77184123ae401100a4d156584f12fa630e5c
io_uring: don't touch scm_fp_list after queueing skb

It's safer to not touch scm_fp_list after we queued an skb to which it
was assigned, there might be races lurking if we screw subtle sync
guarantees on the io_uring side.

Fixes: 6b06314c47e14 ("io_uring: add file set registration")
Signed-off-by: Pavel Begunkov <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
fs/io_uring.c
This page took 0.049094 seconds and 4 git commands to generate.