Skip to content

Commit 3e5d15d

Browse files
committed
Merge tag 'io_uring-6.14-20250228' of git://git.kernel.dk/linux
Pull io_uring fix from Jens Axboe: "Just a single fix headed for stable, ensuring that msg_control is properly saved in compat mode as well" * tag 'io_uring-6.14-20250228' of git://git.kernel.dk/linux: io_uring/net: save msg_control for compat
2 parents ea185bd + 6ebf051 commit 3e5d15d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

io_uring/net.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,9 @@ static int io_sendmsg_copy_hdr(struct io_kiocb *req,
322322
if (unlikely(ret))
323323
return ret;
324324

325-
return __get_compat_msghdr(&iomsg->msg, &cmsg, NULL);
325+
ret = __get_compat_msghdr(&iomsg->msg, &cmsg, NULL);
326+
sr->msg_control = iomsg->msg.msg_control_user;
327+
return ret;
326328
}
327329
#endif
328330

0 commit comments

Comments
 (0)