[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120924210220.GA31496@thinkbox>
Date: Mon, 24 Sep 2012 23:02:21 +0200
From: Daniel Borkmann <dxchgb@...il.com>
To: David Miller <davem@...emloft.net>
Cc: eric.dumazet@...il.com, netdev@...r.kernel.org
Subject: Re: [PATCH net-next] filter: add XOR instruction for use with X/K
David Miller <davem@...emloft.net> [2012-09-24 16:50:05 -0400] wrote:
> From: Eric Dumazet <eric.dumazet@...il.com>
> Date: Mon, 24 Sep 2012 15:43:48 +0200
> > On Mon, 2012-09-24 at 14:23 +0200, Daniel Borkmann wrote:
> >> BPF_S_ANC_ALU_XOR_X has been added a while ago, but as an 'ancillary'
> >> operation that is invoked through a negative offset in K within BPF
> >> load operations. Since BPF_MOD has recently been added, BPF_XOR should
> >> also be part of the common ALU operations. Removing BPF_S_ANC_ALU_XOR_X
> >> might not be an option since this is exposed to user space.
> >
> > Please note we dont expose BPF_S_ANC_ALU_XOR_X to user space.
> >
> > We expose SKF_AD_ALU_XOR_X instead.
> >
> > But it seems easier to leave it to keep this patch small (not touching
> > various JIT implementations, even if followup are welcomed)
> >
> > Acked-by: Eric Dumazet <edumazet@...gle.com>
>
> I applied this, fixing the commit message to refer to SKF_AD_ALU_XOR_X
> instead of BPF_S_ANC_ALU_XOR_X.
Thanks David!
--
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