Netdev List
 help / color / mirror / Atom feed
From: Alexei Starovoitov <alexei.starovoitov@gmail.com>
To: Sargun Dhillon <sargun@sargun.me>
Cc: netdev@vger.kernel.org, daniel@zonque.org, ast@fb.com
Subject: Re: [PATCH net-next 2/2] samples, bpf: Add automated test for cgroup filter attachments
Date: Fri, 2 Dec 2016 10:18:50 -0800	[thread overview]
Message-ID: <20161202181848.GB54949@ast-mbp.thefacebook.com> (raw)
In-Reply-To: <20161202104230.GA9237@ircssh.c.rugged-nimbus-611.internal>

On Fri, Dec 02, 2016 at 02:42:32AM -0800, Sargun Dhillon wrote:
> This patch adds the sample program test_cgrp2_attach2. This program is
> similar to test_cgrp2_attach, but it performs automated testing of the
> cgroupv2 BPF attached filters. It runs the following checks:
> * Simple filter attachment
> * Application of filters to child cgroups
> * Overriding filters on child cgroups
> 	* Checking that this still works when the parent filter is removed
> 
> The filters that are used here are simply allow all / deny all filters, so
> it isn't checking the actual functionality of the filters, but rather
> the behaviour  around detachment / attachment. If net_cls is enabled,
> this test will fail.
> 
> Signed-off-by: Sargun Dhillon <sargun@sargun.me>

Nice. Thanks for the test!
Acked-by: Alexei Starovoitov <ast@kernel.org>

      reply	other threads:[~2016-12-02 18:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-02 10:42 [PATCH net-next 2/2] samples, bpf: Add automated test for cgroup filter attachments Sargun Dhillon
2016-12-02 18:18 ` Alexei Starovoitov [this message]

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=20161202181848.GB54949@ast-mbp.thefacebook.com \
    --to=alexei.starovoitov@gmail.com \
    --cc=ast@fb.com \
    --cc=daniel@zonque.org \
    --cc=netdev@vger.kernel.org \
    --cc=sargun@sargun.me \
    /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