aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/socket_cookie_prog.c
diff options
context:
space:
mode:
authorFlorent Revest <[email protected]>2021-02-10 12:14:02 +0100
committerAlexei Starovoitov <[email protected]>2021-02-11 17:44:40 -0800
commit07881ccbf40cc7893869f3f170301889ddca54ac (patch)
treed4909ae3a28e1d98c951cd03e5c8baeb4fa025e7 /tools/testing/selftests/bpf/progs/socket_cookie_prog.c
parent0e1aa629f1ce9e8cb89e0cefb9e3bfb3dfa94821 (diff)
bpf: Be less specific about socket cookies guarantees
Since "92acdc58ab11 bpf, net: Rework cookie generator as per-cpu one" socket cookies are not guaranteed to be non-decreasing. The bpf_get_socket_cookie helper descriptions are currently specifying that cookies are non-decreasing but we don't want users to rely on that. Reported-by: Daniel Borkmann <[email protected]> Signed-off-by: Florent Revest <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: KP Singh <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/progs/socket_cookie_prog.c')
0 files changed, 0 insertions, 0 deletions