summaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorYang Xiuwei <yangxiuwei@kylinos.cn>2025-09-19 12:03:52 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-09-25 12:16:53 +0300
commit50a98ce1ea694f1ff8e87bc2f8f84096d1736f6a (patch)
tree0828452204dd966a33805be9b004112d991fa18f /net/unix/sysctl_net_unix.c
parent0991418bf98f191d0c320bd25245fcffa1998c7e (diff)
downloadlinux-50a98ce1ea694f1ff8e87bc2f8f84096d1736f6a.tar.xz
io_uring: fix incorrect io_kiocb reference in io_link_skb
[ Upstream commit 2c139a47eff8de24e3350dadb4c9d5e3426db826 ] In io_link_skb function, there is a bug where prev_notif is incorrectly assigned using 'nd' instead of 'prev_nd'. This causes the context validation check to compare the current notification with itself instead of comparing it with the previous notification. Fix by using the correct prev_nd parameter when obtaining prev_notif. Signed-off-by: Yang Xiuwei <yangxiuwei@kylinos.cn> Reviewed-by: Pavel Begunkov <asml.silence@gmail.com> Fixes: 6fe4220912d19 ("io_uring/notif: implement notification stacking") Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions