>-----Original Message----- >From: Eric Dumazet [mailto:[email protected]] >Sent: Thursday, January 19, 2017 5:45 AM >To: David Miller <[email protected]> >Cc: netdev <[email protected]>; Claudiu Manoil ><[email protected]> >Subject: [PATCH net] gianfar: Do not reuse pages from emergency reserve > >From: Eric Dumazet <[email protected]> > >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: 75354148ce69 ("gianfar: Add paged allocation and Rx S/G") >Signed-off-by: Eric Dumazet <[email protected]> >Cc: Claudiu Manoil <[email protected]>
Thanks. Acked-by: Claudiu Manoil <[email protected]>
