Re: [PATCH bpf-next v5 1/4] bpf: Be less specific about socket cookies guarantees

From: KP Singh
Date: Wed Jan 20 2021 - 08:23:21 EST


On Tue, Jan 19, 2021 at 5:00 PM Florent Revest <revest@xxxxxxxxxxxx> wrote:
>
> 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 <daniel@xxxxxxxxxxxxx>
> Signed-off-by: Florent Revest <revest@xxxxxxxxxxxx>

Acked-by: KP Singh <kpsingh@xxxxxxxxxx>