]> git.baikalelectronics.ru Git - kernel.git/commit
net: mvneta: recycle the page in case of out-of-order
authorLorenzo Bianconi <lorenzo@kernel.org>
Fri, 18 Sep 2020 21:25:56 +0000 (23:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 20 Sep 2020 21:12:24 +0000 (14:12 -0700)
commit57bd2ddca65f805b1df6d3e4511ff630b7d5a925
treef9fb759d0ab03ca4fc46a199ccf5bb9e041fff35
parentbddc11f61d968a0f1f3f7e89068f9b05c8f45d38
net: mvneta: recycle the page in case of out-of-order

Recycle the received page into the page_pool cache if the dma descriptors
arrived in a wrong order

Fixes: a6b60a7151f3f ("net: mvneta: move skb build after descriptors processing")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvneta.c