[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH] 9p/xen: fix release of IRQ
From: Alex Zenla <alex@xxxxxxxxx> Kernel logs indicate an IRQ was double-freed. Pass correct device ID during IRQ release. Fixes: 71ebd71921e45 ("xen/9pfs: connect to the backend") Signed-off-by: Alex Zenla <alex@xxxxxxxxx> Signed-off-by: Alexander Merritt <alexander@xxxxxxxxx> Signed-off-by: Ariadne Conill <ariadne@ariadne.space> --- net/9p/trans_xen.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/9p/trans_xen.c b/net/9p/trans_xen.c index dfdbe1ca5338..198d46d79d84 100644 --- a/net/9p/trans_xen.c +++ b/net/9p/trans_xen.c @@ -286,7 +286,8 @@ static void xen_9pfs_front_free(struct xen_9pfs_front_priv *priv) if (!priv->rings[i].intf) break; if (priv->rings[i].irq > 0) - unbind_from_irqhandler(priv->rings[i].irq, priv->dev); + unbind_from_irqhandler(priv->rings[i].irq, ring); + priv->rings[i].evtchn = priv->rings[i].irq = 0; if (priv->rings[i].data.in) { for (j = 0; j < (1 << priv->rings[i].intf->ring_order); -- 2.43.0
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |