From: Stephen Hemminger <stephen@networkplumber.org>
To: Daniel Borkmann <daniel@iogearbox.net>
Cc: alexei.starovoitov@gmail.com, netdev@vger.kernel.org
Subject: Re: [PATCH iproute2 -master] f_bpf: fix filling of handle when no further arg is provided
Date: Mon, 23 May 2016 16:15:08 -0700 [thread overview]
Message-ID: <20160523161508.5523fe83@xeon-e3> (raw)
In-Reply-To: <55bce23c05c03def46a6b5fd385766bcd5351dd7.1463565059.git.daniel@iogearbox.net>
On Wed, 18 May 2016 11:58:41 +0200
Daniel Borkmann <daniel@iogearbox.net> wrote:
> We need to fill handle when provided by the user, even if no further
> argument is provided. Thus, move the test for arg to the correct location,
> so that it works correctly:
>
> # tc filter show dev foo egress
> filter protocol all pref 1 bpf
> filter protocol all pref 1 bpf handle 0x1 bpf.o:[classifier] direct-action
> filter protocol all pref 1 bpf handle 0x2 bpf.o:[classifier] direct-action
> # tc filter del dev foo egress prio 1 handle 2 bpf
> # tc filter show dev foo egress
> filter protocol all pref 1 bpf
> filter protocol all pref 1 bpf handle 0x1 bpf.o:[classifier] direct-action
>
> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Applied
prev parent reply other threads:[~2016-05-23 23:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-18 9:58 [PATCH iproute2 -master] f_bpf: fix filling of handle when no further arg is provided Daniel Borkmann
2016-05-23 23:15 ` Stephen Hemminger [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=20160523161508.5523fe83@xeon-e3 \
--to=stephen@networkplumber.org \
--cc=alexei.starovoitov@gmail.com \
--cc=daniel@iogearbox.net \
--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