Subject: Re: [PATCH] net: optimize Berkeley Packet Filter (BPF) processing

From: Stephen Hemminger <[email-masked]>
Date: Sun, 20 Jun 2010 11:49:13 -0700

On Sun, 20 Jun 2010 11:50:20 +0200
Hagen Paul Pfeifer <[email-masked]> wrote:

> * Stephen Hemminger | 2010-06-19 22:16:11 [-0700]:
> 
> >I don't think this works because it breaks ABI compatibility for applications tha
> >use older versions.
> 
> Are you sure Stephen? It is a one-to-one mapping of the ABI but maybe it was
> too late yesterday ... ;-)

I was worried that the new (remapped codes) would overlap the ones from user
space.  Maybe best to have separate structures for the userspace API and the
kernel optimized filter instructions.  You could then do what ever transformations
you want there.