The casting is problematic and could introduce an integer underflow issue. Dan Carpenter (2): io_uring/net: fix overflow check in io_recvmsg_mshot_prep() io_uring/net: remove unnecesary check io_uring/net.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) -- 2.43.0