[PATCH] vhost: fix FD registration to the fdset

David Marchand david.marchand at redhat.com
Mon Jun 17 16:25:02 CEST 2024


On Mon, Jun 17, 2024 at 12:13 PM Maxime Coquelin
<maxime.coquelin at redhat.com> wrote:
>
> A missing return statement in fdset_add() was making
> the error path to be systematically executed, this patch
> adds it back.
>
> Bugzilla ID: 1462
> Fixes: 0e38b42bf61c ("vhost: manage FD with epoll")

It looks like the initial code was better ;-).

>
> Reported-by: Jiang Yu <yux.jiang at intel.com>
> Signed-off-by: Maxime Coquelin <maxime.coquelin at redhat.com>
Reviewed-by: David Marchand <david.marchand at redhat.com>

Applied directly in main for rc1, thanks.


-- 
David Marchand



More information about the dev mailing list