[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <54DD111C.8000304@iogearbox.net>
Date: Thu, 12 Feb 2015 21:46:20 +0100
From: Daniel Borkmann <daniel@...earbox.net>
To: Alexei Starovoitov <ast@...mgrid.com>
CC: Jiří Pírko <jiri@...nulli.us>,
Network Development <netdev@...r.kernel.org>
Subject: Re: [PATCH net-next 7/7] cls_bpf: add initial eBPF support for programmable
classifiers
On 02/11/2015 03:16 AM, Alexei Starovoitov wrote:
...
> 2.
> in core/filter.c do:
> bpf_register_prog_type(&sock_type);
> bpf_register_prog_type(&cls_type);
> static struct bpf_prog_type_list cls_type = {
> .ops = &sock_filter_ops,
> .type = BPF_PROG_TYPE_SCHED_CLS,
> };
Yes, that's fine by me. That way, we'll also preserve ABI compatibility when
we decide to diverge from the current socket filter functionality.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists