Re: [PATCH net] gianfar: Do not reuse pages from emergency reserve

2017-01-19 Thread David Miller
From: Eric Dumazet Date: Wed, 18 Jan 2017 19:44:42 -0800 > From: Eric Dumazet > > 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 S

RE: [PATCH net] gianfar: Do not reuse pages from emergency reserve

2017-01-19 Thread Claudiu Manoil
>-Original Message- >From: Eric Dumazet [mailto:eric.duma...@gmail.com] >Sent: Thursday, January 19, 2017 5:45 AM >To: David Miller >Cc: netdev ; Claudiu Manoil > >Subject: [PATCH net] gianfar: Do not reuse pages from emergency reserve > >From: Eric

[PATCH net] gianfar: Do not reuse pages from emergency reserve

2017-01-18 Thread Eric Dumazet
From: Eric Dumazet 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