Re: [PATCH] io_uring: Check socket is valid in io_bind()/io_listen()

Jens Axboe
2024-07-13T12:39:03Z

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