Re: [PATCH] io_uring: Check socket is valid in io_bind()/io_listen()
From: Jens Axboe
Date: Sat Jul 13 2024 - 08:39:12 EST
On 7/13/24 4:05 AM, Tetsuo Handa wrote:
> We need to check that sock_from_file(req->file) != NULL.
Yep indeed, that was missed. Thanks, I'll apply this, just moving
the assignment to where the NULL check is for consistency's sake.
--
Jens Axboe