[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180716220728.gd6yq7yke7d7qijw@ast-mbp.dhcp.thefacebook.com>
Date: Mon, 16 Jul 2018 15:07:30 -0700
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Dan Carpenter <dan.carpenter@...cle.com>
Cc: Alexei Starovoitov <ast@...nel.org>,
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 Fri, Jul 13, 2018 at 06:05:37PM +0300, 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>
since this is sample code I've applied both patches to bpf-next tree.
Thanks
Powered by blists - more mailing lists