Subject: Re: [Xen-devel] xen-netfront crash when detaching network while some network activity

From: David Vrabel <[email-masked]>
Date: Tue, 17 Nov 2015 11:59:17 +0000

On 21/10/15 19:57, Marek Marczykowski-Górecki wrote:
> Any ideas?

No, sorry.  Netfront looks correct to me.

We take an additional ref for the ref released by
gnttab_release_grant_reference().  The get_page() here is safe since we
haven't freed the page yet (this is done in the subsequent call to
skb_kfree_irq()).

get_page()/put_page() also look fine when used with tail pages.

David