[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150527.140337.2074429377294328026.davem@davemloft.net>
Date: Wed, 27 May 2015 14:03:37 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: david.vrabel@...rix.com
Cc: netdev@...r.kernel.org, xen-devel@...ts.xenproject.org,
konrad.wilk@...cle.com, boris.ostrovsky@...cle.com
Subject: Re: [PATCHv1] xen-netfront: properly destroy queues when removing
device
From: David Vrabel <david.vrabel@...rix.com>
Date: Wed, 27 May 2015 15:46:10 +0100
> xennet_remove() freed the queues before freeing the netdevice which
> results in a use-after-free when free_netdev() tries to delete the
> napi instances that have already been freed.
>
> Fix this by fully destroy the queues (which includes deleting the napi
> instances) before freeing the netdevice.
>
> Signed-off-by: David Vrabel <david.vrabel@...rix.com>
Applied, thanks David.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists