Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7d525c4e authored by Alexander Duyck's avatar Alexander Duyck Committed by David S. Miller
Browse files

netcp: Replace put_page(virt_to_head_page(ptr)) w/ skb_free_frag

parent 181edb2b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -537,7 +537,7 @@ int netcp_unregister_rxhook(struct netcp_intf *netcp_priv, int order,
static void netcp_frag_free(bool is_frag, void *ptr)
{
	if (is_frag)
		put_page(virt_to_head_page(ptr));
		skb_free_frag(ptr);
	else
		kfree(ptr);
}