> Subject: Re: [PATCH] net/virtio: fix eventfd enable on device re-init
> 
> Hello Ciara,
> 
> On Mon, Nov 23, 2026 at 11:25 AM Ciara Loftus <[email protected]>
> wrote:
> >
> > virtio_dev_configure() can call virtio_init_device() more than once
> > with Rx interrupts enabled. Each call enables the eventfds again without
> > releasing the previous ones. This used to leak the old eventfds, but EAL
> > now rejects the repeated enable, causing dev_configure() to fail.
> >
> > Fix this by disabling the eventfds before enabling them again, except
> > for virtio-user which does not recreate them.
> >
> > Fixes: e7b9d1d2806c ("net/virtio: fix Rx interrupt setup")
> > Cc: [email protected]
> >
> > Signed-off-by: Ciara Loftus <[email protected]>
> > ---
> >  drivers/net/virtio/virtio_ethdev.c | 4 ++++
> >  1 file changed, 4 insertions(+)
> >
> 
> David posted a patch to revert 3ba6b689893f, so in theory your patch
> should not be needed.

Apologies, I missed that.

> 
> The revert is part of v26.11-rc4.
> Can you confirm you do not reproduce this issue with -rc4?

Confirmed, I don't see the configure failure with rc4.

> 
> Thanks,
> Maxime

Reply via email to