On Tue, Aug 27, 2019 at 4:46 PM Petar Penkov <ppenkov.ker...@gmail.com> wrote:
>
> From: Petar Penkov <ppen...@google.com>
>
> If a SYN cookie is not issued by tcp_v#_gen_syncookie, then the return
> value will be exactly 0, rather than <= 0. Let's change the check to
> reflect that, especially since mss is an unsigned value and cannot be
> negative.
>
> Fixes: 70d66244317e ("bpf: add bpf_tcp_gen_syncookie helper")
> Reported-by: Stanislav Fomichev <s...@google.com>
> Signed-off-by: Petar Penkov <ppen...@google.com>

Acked-by: Song Liu <songliubrav...@fb.com>

Reply via email to