diff options
author | Eric Dumazet <[email protected]> | 2017-01-18 23:03:08 -0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-01-20 12:41:46 -0500 |
commit | e048fc50d7bde23136e098e04a324d7e3404408d (patch) | |
tree | 942be3963c8a58d2fa891a7d043d34b69e07ea89 /net/unix/sysctl_net_unix.c | |
parent | cdb749cef16bceb74950fc8668f2632ff7cac9aa (diff) |
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 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions