Files
linux/kernel/bpf
Yonghong Song e60572b8d4 bpf: Avoid visit same object multiple times
Currently when traversing all tasks, the next tid
is always increased by one. This may result in
visiting the same task multiple times in a
pid namespace.

This patch fixed the issue by seting the next
tid as pid_nr_ns(pid, ns) + 1, similar to
funciton next_tgid().

Signed-off-by: Yonghong Song <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Cc: Rik van Riel <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
2020-08-18 17:36:23 -07:00
..
2020-08-07 18:57:24 +02:00
2020-03-13 12:49:52 -07:00
2020-05-09 17:05:26 -07:00
2020-07-25 20:16:32 -07:00
2020-05-15 17:29:41 +02:00