Files
linux/drivers
Eric Dumazet 83571e9ef7 gianfar: Do not reuse pages from emergency reserve
[ Upstream commit 69fed99baa ]

A driver using dev_alloc_page() must not reuse a page that had to
use emergency memory reserve.

Otherwise all packets using this page will be immediately dropped,
unless for very specific sockets having SOCK_MEMALLOC bit set.

This issue might be hard to debug, because only a fraction of the RX
ring buffer would suffer from drops.

Fixes: 75354148ce ("gianfar: Add paged allocation and Rx S/G")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Claudiu Manoil <claudiu.manoil@freescale.com>
Acked-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-07-05 14:40:22 +02:00
..
2016-12-05 14:53:46 -05:00
2017-06-24 07:11:17 +02:00
2017-05-20 14:28:41 +02:00
2017-06-17 06:41:50 +02:00
2017-06-17 06:41:58 +02:00
2017-02-23 17:44:36 +01:00
2017-04-21 09:31:24 +02:00
2017-06-29 13:00:31 +02:00