summaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2017-01-18 23:03:08 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-02-04 09:47:10 +0100
commit087dced61adcd8275de2586aa1d9f51c3887c1bf (patch)
tree46d2010d2aad54b1f71b476ef942964c53408fae /include/linux/fpga/fpga-mgr.h
parent0c687a735cdb1d7670097ab12e505a14fdec55ca (diff)
net/mlx5e: Do not recycle pages from emergency reserve
[ Upstream commit e048fc50d7bde23136e098e04a324d7e3404408d ] 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> Cc: Tariq Toukan <tariqt@mellanox.com> Cc: Saeed Mahameed <saeedm@mellanox.com> Acked-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions