]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
net: napi_reuse_skb() should check pfmemalloc
authorEric Dumazet <edumazet@google.com>
Thu, 23 Oct 2014 13:30:30 +0000 (06:30 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Oct 2014 02:47:23 +0000 (22:47 -0400)
commit93a35f59f1b13a02674877e3efdf07ae47e34052
treec05bc7c401ea7889059f9c15e4c28807c38b0105
parentaa9c5579153535fb317a9d34c7d8eaf02b7ef4cd
net: napi_reuse_skb() should check pfmemalloc

Do not reuse skb if it was pfmemalloc tainted, otherwise
future frame might be dropped anyway.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Roman Gushchin <klamm@yandex-team.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c