Re: [PATCH net-next] net: filter: rename 'struct sock_filter_int' into 'struct bpf_insn'

From: Alexei Starovoitov
Date: Thu Jul 24 2014 - 19:27:01 EST


On Thu, Jul 24, 2014 at 4:21 PM, Daniel Borkmann <dborkman@xxxxxxxxxx> wrote:
> On 07/24/2014 11:26 PM, Alexei Starovoitov wrote:
>>
>> eBPF is used by socket filtering, seccomp and soon by tracing and
>> exposed to userspace, therefore 'sock_filter_int' name is not accurate.
>> Rename it to 'bpf_insn'
>>
>> Signed-off-by: Alexei Starovoitov <ast@xxxxxxxxxxxx>
>> ---
>
> ...
>
>> #define BPF_ALU64_REG(OP, DST, SRC) \
>> - ((struct sock_filter_int) { \
>> + ((struct bpf_insn) { \
>
>
> ^^^ Please also fix up whitespacing here
> and all the other sections below.

you mean to align last \ with other lines?
sure. good point.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/