]> git.baikalelectronics.ru Git - 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)
commit1943fc794f7ec050343a1740764556f83d467613
treec05bc7c401ea7889059f9c15e4c28807c38b0105
parentfea69ef317bb8a1ed721caf952a17068ea66279b
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