]> git.baikalelectronics.ru Git - kernel.git/commit
net: remove useless pfmemalloc setting
authorEric Dumazet <edumazet@google.com>
Thu, 2 Feb 2017 02:13:23 +0000 (18:13 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Feb 2017 04:03:05 +0000 (23:03 -0500)
commit714e34aa05481ea8776a76abeff7b15ccd8c3a9a
treedf87e4aeef3b72752d470fe67a5127e26b1b4838
parenta1d85fbc6150bf6f22add8ac417684a97d1d79b7
net: remove useless pfmemalloc setting

When __alloc_skb() allocates an skb from fast clone cache,
setting pfmemalloc on the clone is not needed.

Clone will be properly initialized later at skb_clone() time,
including pfmemalloc field, as it is included in the
headers_start/headers_end section which is fully copied.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/skbuff.c