Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935270AbaGXX07 (ORCPT ); Thu, 24 Jul 2014 19:26:59 -0400 Received: from mail-wg0-f51.google.com ([74.125.82.51]:45016 "EHLO mail-wg0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934961AbaGXX05 (ORCPT ); Thu, 24 Jul 2014 19:26:57 -0400 MIME-Version: 1.0 In-Reply-To: <53D194F1.6020603@redhat.com> References: <1406237179-3713-1-git-send-email-ast@plumgrid.com> <53D194F1.6020603@redhat.com> Date: Thu, 24 Jul 2014 16:26:54 -0700 Message-ID: Subject: Re: [PATCH net-next] net: filter: rename 'struct sock_filter_int' into 'struct bpf_insn' From: Alexei Starovoitov To: Daniel Borkmann Cc: "David S. Miller" , Network Development , LKML Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 24, 2014 at 4:21 PM, Daniel Borkmann 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 >> --- > > ... > >> #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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/