diff options
| author | Eric Dumazet <[email protected]> | 2017-01-19 07:03:08 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-01-20 17:41:46 +0000 |
| commit | e048fc50d7bde23136e098e04a324d7e3404408d (patch) | |
| tree | 942be3963c8a58d2fa891a7d043d34b69e07ea89 /drivers/net/xen-netfront.c | |
| parent | bpf: fix samples xdp_tx_iptunnel and tc_l2_redirect with fake KBUILD_MODNAME (diff) | |
| download | kernel-e048fc50d7bde23136e098e04a324d7e3404408d.tar.gz kernel-e048fc50d7bde23136e098e04a324d7e3404408d.zip | |
net/mlx5e: Do not recycle pages from emergency reserve
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 <[email protected]>
Cc: Tariq Toukan <[email protected]>
Cc: Saeed Mahameed <[email protected]>
Acked-by: Saeed Mahameed <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/xen-netfront.c')
0 files changed, 0 insertions, 0 deletions
