aboutsummaryrefslogtreecommitdiff
path: root/lib/net_utils.c
diff options
context:
space:
mode:
authorHou Tao <houtao1@huawei.com>2023-12-14 12:30:10 +0800
committerAlexei Starovoitov <ast@kernel.org>2023-12-13 20:49:11 -0800
commitdc68540913ac523b46ebda3843cec179362c7a72 (patch)
tree0b6e496130744349f7e15d3c015e7196e9bb7217 /lib/net_utils.c
parent8f82583f9527b3be9d70d9a5d1f33435e29d0480 (diff)
bpf: Use GFP_KERNEL in bpf_event_entry_gen()
rcu_read_lock() is no longer held when invoking bpf_event_entry_gen() which is called by perf_event_fd_array_get_ptr(), so using GFP_KERNEL instead of GFP_ATOMIC to reduce the possibility of failures due to out-of-memory. Acked-by: Yonghong Song <yonghong.song@linux.dev> Signed-off-by: Hou Tao <houtao1@huawei.com> Link: https://lore.kernel.org/r/20231214043010.3458072-3-houtao@huaweicloud.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'lib/net_utils.c')
0 files changed, 0 insertions, 0 deletions