[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161031174656.GE32374@pox.localdomain>
Date: Mon, 31 Oct 2016 18:46:56 +0100
From: Thomas Graf <tgraf@...g.ch>
To: David Ahern <dsa@...ulusnetworks.com>
Cc: David Miller <davem@...emloft.net>, netdev@...r.kernel.org,
daniel@...que.org, ast@...com, daniel@...earbox.net,
maheshb@...gle.com
Subject: Re: [PATCH v2 net-next 0/5] Add bpf support to set sk_bound_dev_if
On 10/31/16 at 11:16am, David Ahern wrote:
> On 10/31/16 11:01 AM, David Miller wrote:
> > Also, any reason why you don't allow the cgroup bpf sk filter to return
> > an error code so that the sock creation could be cancelled if the eBPF
> > program desires that? It could be useful, I suppose.
>
> My first draft at this feature had that but I removed it for simplicity now. Can certainly add it back.
We're trying to standardize on common return codes for all program
types. The lwt bpf series defines BPF_ codes which are compatible
with TC_ACT_* values to make lwt_bpf and cls_bpf compatible. Would
be great to use the same return codes and implement the ones that
make sense.
Powered by blists - more mailing lists