Skip to content
Commit 88fc8b84 authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring/net: initalize msghdr->msg_inq to known value



We can't currently tell if ->msg_inq was set when we ask for msg_get_inq,
initialize it to -1U so we can tell apart if it was set and there's
no data left, or if it just wasn't set at all by the protocol.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent bf34e697
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment