[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <442e0225-9d07-f499-7f9d-768cd0b3d1e9@gmail.com>
Date: Fri, 13 Jul 2018 11:17:54 -0400
From: David Ahern <dsahern@...il.com>
To: Dan Carpenter <dan.carpenter@...cle.com>,
Alexei Starovoitov <ast@...nel.org>
Cc: Daniel Borkmann <daniel@...earbox.net>, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH 2/2] samples/bpf: test_cgrp2_sock2: fix an off by one
On 7/13/18 11:05 AM, Dan Carpenter wrote:
> "prog_cnt" is the number of elements which are filled out in prog_fd[]
> so the test should be >= instead of >.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
>
Fixes: 554ae6e792ef3 ("samples/bpf: add userspace example for
prohibiting sockets")
Reviewed-by: David Ahern <dsahern@...il.com>
Thanks for the fix.
Powered by blists - more mailing lists