aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/net.c
diff options
context:
space:
mode:
authorJonathan Lemon <[email protected]>2020-12-18 18:50:31 +0000
committerDaniel Borkmann <[email protected]>2020-12-24 01:04:53 +0000
commita61daaf351da7c8493f2586437617d60c24350b0 (patch)
tree423747adcf3211c9b13bef6bd7b165b03b315ff8 /tools/bpf/bpftool/net.c
parentbpf: Save correct stopping point in file seq iteration (diff)
downloadkernel-a61daaf351da7c8493f2586437617d60c24350b0.tar.gz
kernel-a61daaf351da7c8493f2586437617d60c24350b0.zip
bpf: Use thread_group_leader()
Instead of directly comparing task->tgid and task->pid, use the thread_group_leader() helper. This helps with readability, and there should be no functional change. Signed-off-by: Jonathan Lemon <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/bpf/bpftool/net.c')
0 files changed, 0 insertions, 0 deletions