aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2023-05-17 12:18:13 -0600
committerJens Axboe <axboe@kernel.dk>2023-05-17 12:18:13 -0600
commit88fc8b8463b024df556d5c4245f2c273f22d83a1 (patch)
tree6335458871dd40108a1a179012d6197cb0d2d9de /scripts/generate_rust_analyzer.py
parentio_uring/net: initialize struct msghdr more sanely for io_recv() (diff)
downloadwireguard-linux-88fc8b8463b024df556d5c4245f2c273f22d83a1.tar.xz
wireguard-linux-88fc8b8463b024df556d5c4245f2c273f22d83a1.zip
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: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions