summaryrefslogtreecommitdiff
path: root/net/core/utils.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2017-02-01 18:13:23 -0800
committerDavid S. Miller <davem@davemloft.net>2017-02-02 23:03:05 -0500
commitb9ea2a7be758f2c07a0c044645edc409a8a388fd (patch)
treedf87e4aeef3b72752d470fe67a5127e26b1b4838 /net/core/utils.c
parentbdcfa156039dcfe2be989b73c4ae1be3d5d0f804 (diff)
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>
Diffstat (limited to 'net/core/utils.c')
0 files changed, 0 insertions, 0 deletions
00 ("perf: Pass protection and flags bits through mmap2 interface") Link: http://lkml.kernel.org/r/20170126221508.GF6536@twins.programming.kicks-ass.net Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/trace/events')