Thread (7 messages) flat view 7 messages, 4 authors, 2017-01-21

Re: [PATCH net] net/mlx5e: Do not recycle pages from emergency reserve

From: David Miller <davem@davemloft.net>
Date: 2017-01-20 17:43:03

From: Eric Dumazet <redacted>
Date: Wed, 18 Jan 2017 23:03:08 -0800
From: Eric Dumazet <edumazet@google.com>

A driver using dev_alloc_page() must not reuse a page allocated from
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 received
packets would be dropped.

Fixes: 4415a0319f92 ("net/mlx5e: Implement RX mapped page cache for page recycle")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Applied and queued up for -stable, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help