From: David Ahern <dsahern@gmail.com>
To: Dan Carpenter <dan.carpenter@oracle.com>,
Alexei Starovoitov <ast@kernel.org>
Cc: Daniel Borkmann <daniel@iogearbox.net>,
netdev@vger.kernel.org, kernel-janitors@vger.kernel.org
Subject: Re: [PATCH 2/2] samples/bpf: test_cgrp2_sock2: fix an off by one
Date: Fri, 13 Jul 2018 11:17:54 -0400 [thread overview]
Message-ID: <442e0225-9d07-f499-7f9d-768cd0b3d1e9@gmail.com> (raw)
In-Reply-To: <20180713150301.gdvfu2ejlzlnglii@kili.mountain>
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@oracle.com>
>
Fixes: 554ae6e792ef3 ("samples/bpf: add userspace example for
prohibiting sockets")
Reviewed-by: David Ahern <dsahern@gmail.com>
Thanks for the fix.
next prev parent reply other threads:[~2018-07-13 15:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-13 15:05 [PATCH 2/2] samples/bpf: test_cgrp2_sock2: fix an off by one Dan Carpenter
2018-07-13 15:17 ` David Ahern [this message]
2018-07-16 22:07 ` Alexei Starovoitov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=442e0225-9d07-f499-7f9d-768cd0b3d1e9@gmail.com \
--to=dsahern@gmail.com \
--cc=ast@kernel.org \
--cc=dan.carpenter@oracle.com \
--cc=daniel@iogearbox.net \
--cc=kernel-janitors@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox