io_uring/net: correct the type of variable
authorMuhammad Usama Anjum <usama.anjum@collabora.com>
Fri, 1 Mar 2024 14:43:48 +0000 (19:43 +0500)
committerJens Axboe <axboe@kernel.dk>
Mon, 4 Mar 2024 23:33:11 +0000 (16:33 -0700)
commit86bcacc957fc2d0403aa0e652757eec59a5fd7ca
tree5e89ecf1cf06e6428bbfdac05d8b29dd85ed3190
parent3fcb9d17206e31630f802a3ab52081d1342b8ed9
io_uring/net: correct the type of variable

The namelen is of type int. It shouldn't be made size_t which is
unsigned. The signed number is needed for error checking before use.

Fixes: c55978024d12 ("io_uring/net: move receive multishot out of the generic msghdr path")
Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Link: https://lore.kernel.org/r/20240301144349.2807544-1-usama.anjum@collabora.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/net.c