]> 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)
commitc3a29e8966ce1fda9fdfff013365ec234f6c08d1
treec05bc7c401ea7889059f9c15e4c28807c38b0105
parent344df4b9a81ecd73f1811d7a8bf61f88ca7806cb
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